fixes wrong call of assertEquals() default tip

Wed, 26 Aug 2020 19:09:07 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 26 Aug 2020 19:09:07 +0200
changeset 25
569220009c54
parent 24
c042490f3aef

fixes wrong call of assertEquals()

src/test/java/de/uapcore/sudoku/FieldTest.java file | annotate | diff | comparison | revisions
--- a/src/test/java/de/uapcore/sudoku/FieldTest.java	Tue Jul 28 14:45:06 2020 +0200
+++ b/src/test/java/de/uapcore/sudoku/FieldTest.java	Wed Aug 26 19:09:07 2020 +0200
@@ -36,7 +36,7 @@
         assertEquals(0, f.getCellValue(3, 4));
         assertTrue(f.isCellEmpty(3, 4));
         f.setCellValue(3, 4, 6);
-        assertEquals(6, 3, 4);
+        assertEquals(6, f.getCellValue(3, 4));
         assertFalse(f.isCellEmpty(3, 4));
     }
 

mercurial