src/test/java/de/uapcore/sudoku/FieldTest.java

changeset 25
569220009c54
parent 22
06170a0be62a
equal deleted inserted replaced
24:c042490f3aef 25:569220009c54
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() {

mercurial