/** Test of next method, of class NumericRange. */ @Test public void testNext() { for (int i = 1; i <= 100; i++) { assertEquals(Integer.toString(i), range.next()); } }
/** Test of hasMore method, of class NumericRange. */ @Test public void testHasMore() { for (int i = 1; i <= 100; i++) { assertEquals(true, range.hasMore()); } }