34 void getAndSetValues() { |
34 void getAndSetValues() { |
35 final var f = new Field(); |
35 final var f = new Field(); |
36 assertEquals(0, f.getCellValue(3, 4)); |
36 assertEquals(0, f.getCellValue(3, 4)); |
37 assertTrue(f.isCellEmpty(3, 4)); |
37 assertTrue(f.isCellEmpty(3, 4)); |
38 f.setCellValue(3, 4, 6); |
38 f.setCellValue(3, 4, 6); |
39 assertEquals(6, 3, 4); |
39 assertEquals(6, f.getCellValue(3, 4)); |
40 assertFalse(f.isCellEmpty(3, 4)); |
40 assertFalse(f.isCellEmpty(3, 4)); |
41 } |
41 } |
42 |
42 |
43 @Test |
43 @Test |
44 void setAllCellsModified() { |
44 void setAllCellsModified() { |