Skip to content
Snippets Groups Projects
Commit 2a30a1c8 authored by dragapsy's avatar dragapsy
Browse files

Tache 3 (La methode HasNext()).

Test passé avec succès !
parent dd52af0f
Branches
No related tags found
No related merge requests found
......@@ -66,8 +66,8 @@ class ArrayGridTest {
}
}
//@Test
/* void testIterator() {
@Test
void testIterator() {
Iterator<Cell> iterator = arrayGridTwoTwo.iterator();
assertThat(iterator.hasNext()).isTrue();
assertThat(iterator.next()).isEqualTo(arrayGridTwoTwo.getCell(0,0));
......@@ -79,5 +79,5 @@ class ArrayGridTest {
assertThat(iterator.hasNext()).isFalse();
}
*/
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment