fertiges Assignment

This commit is contained in:
Oli040404 2025-02-19 23:15:21 +01:00
parent 995bf8fc61
commit 54db5231f5
3 changed files with 0 additions and 3 deletions

View File

@ -9,5 +9,4 @@ public interface ILife {
// Methoden zum Fortschreiben der Generationen
public ILife nextGeneration();
}

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();

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();