fertiges Assignment

This commit is contained in:
Oli040404 committed 2025-02-19 23:15:21 +01:00
1 parent 995bf8fc61
commit 54db5231f5
3 files changed
-3

No files matched your search

-1
View File
@@ -9,5 +9,4 @@ public interface ILife {
// Methoden zum Fortschreiben der Generationen
public ILife nextGeneration();
}
-1
View File
@@ -63,7 +63,6 @@ public class Life implements ILife {
return isInBounds(x, y) && grid[x][y];
}
@Override
public ILife nextGeneration() {
Life newLife = new Life();
-1
View File
@@ -34,7 +34,6 @@ public class LifeTest {
ILife nextGen = l.nextGeneration();
assertTrue(nextGen.isAlive(1, 1));
}
@Test
public void destroyCrowdedCell() {
Life l = new Life();