Beispiel #1
0
 @Test
 public void test7() throws Exception {
   List<Long> result = IDStringReader.read("1-3,5-6,7");
   assertTrue(result.size() == 6);
 }
Beispiel #2
0
 @Test
 public void test8() throws Exception {
   List<Long> result = IDStringReader.read("1,5-6,7,9-11");
   assertTrue(result.size() == 7);
 }
Beispiel #3
0
 @Test
 public void test2() throws Exception {
   List<Long> result = IDStringReader.read("1,2");
   assertTrue(result.size() == 2);
 }