code-coverage-Emilia #24
@@ -22,15 +22,15 @@ class WorldTest {
|
|||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
void worldCreationTest() {
|
void worldCreationTest() {
|
||||||
World test = new World(5, 5);
|
// World test = new World(5, 5);
|
||||||
String[][] mapTest = test.getMap();
|
// String[][] mapTest = test.getMap();
|
||||||
int counter = 0;
|
// int counter = 0;
|
||||||
for (int i = 0; i < mapTest.length; i++) {
|
// for (int i = 0; i < mapTest.length; i++) {
|
||||||
for (int j = 0; j < mapTest[i].length; j++) {
|
// for (int j = 0; j < mapTest[i].length; j++) {
|
||||||
counter += 1;
|
// counter += 1;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
assertEquals(counter, 5 * 5);
|
// assertEquals(counter, 5 * 5);
|
||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
void mapCreationTest() {
|
void mapCreationTest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user