Commit 839b0c25 authored by Anya Helene Bagge's avatar Anya Helene Bagge 🦆

ferdig oppgavetekst

parent b9e9db37
This diff is collapsed.
......@@ -11,6 +11,12 @@ import inf101.v18.cell.CellState;
public class GridTest {
Random random = new Random();
public void constructTest1() {
IGrid grid = new MyGrid(11, 17, CellState.DEAD);
// TODO: sjekk at bredde og høyde faktisk er 11 og 17
* Tests that trying to access outside of the dimensions of the grid throws
* an IndexOutOfBoundsException.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment