test/infinity/ecs/utils/ReadOnlyIteratorTest.java
/**
     * Test of hasNext method, of class ReadOnlyIterator.
     */
Test of hasNext method, of class ReadOnlyIterator.
Test of hasNext method of class ReadOnlyIterator .
@Test
    public void testHasNext() {
	assertTrue(_iter1.hasNext());
	assertTrue(_iter2.hasNext());
	assertFalse(_iter3.hasNext());
	int i = _col1.size();
	for(int k =0 ; k <i; k++){
	   _iter1.next();
	}
	assertFalse(_iter1.hasNext());
    }
@ Test public void testHasNext ( ) { assertTrue ( _iter1 . hasNext ( ) ) ; assertTrue ( _iter2 . hasNext ( ) ) ; assertFalse ( _iter3 . hasNext ( ) ) ; int i = _col1 . size ( ) ; for ( int k = 0 ; k < i ; k ++ ) { _iter1 . next ( ) ; } assertFalse ( _iter1 . hasNext ( ) ) ; }
Test of hasNext method, of class ReadOnlyIterator.
Test of hasNext method of class ReadOnlyIterator .