Beispiel #1
0
 @Test
 public void testMoreWhitePieces() {
   Othello o = new Othello();
   o.setEntry(Piece.WHITE, 0, 0);
   assertTrue(o.moreWhitePieces());
 }
Beispiel #2
0
 @Test
 public void testSetEntry() {
   Othello o = new Othello();
   o.setEntry(Piece.WHITE, 1, 2);
   assertEquals(Piece.WHITE, o.getEntry(1, 2));
 }