@Test
public void testParseTimeUnit(){

	Pair<Integer, TimeUnit> tu = LangOps.parseTimeUnit("11mis");
	assertThat(tu.getLeft()).isEqualTo(11);
	assertThat(tu.getRight()).isEqualTo(TimeUnit.MILLISECONDS);
	
	tu = LangOps.parseTimeUnit("11s");
	assertThat(tu.getLeft()).isEqualTo(11);
	assertThat(tu.getRight()).isEqualTo(TimeUnit.SECONDS);
	
	tu = LangOps.parseTimeUnit("11m");
	assertThat(tu.getLeft()).isEqualTo(11);
	assertThat(tu.getRight()).isEqualTo(TimeUnit.MINUTES);
	
	tu = LangOps.parseTimeUnit("101h");
	assertThat(tu.getLeft()).isEqualTo(101);
	assertThat(tu.getRight()).isEqualTo(TimeUnit.HOURS);
	
	tu = LangOps.parseTimeUnit("11d");
	assertThat(tu.getLeft()).isEqualTo(11);
	assertThat(tu.getRight()).isEqualTo(TimeUnit.DAYS);
}