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