First commit of Conway's Game of Life project!
This commit is contained in:
16
test/gameoflifetest/CellTest.java
Normal file
16
test/gameoflifetest/CellTest.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package gameoflifetest;
|
||||
|
||||
import gameoflife.Cell;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class CellTest {
|
||||
static Cell cell;
|
||||
@Test
|
||||
void getStatusTest() {
|
||||
cell = new Cell((double)5, (double)5, 3, 1);
|
||||
assertEquals(Cell.Status.DEAD,cell.getStatus());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user