@Test public void testMove() { q_w.move(4, 0); assertTrue(q_w.getX() == 4 && q_w.getY() == 0); p1_b.move(6, 3); assertFalse(p1_b.getX() == 6 && p1_b.getY() == 3); board.print(); }
@Test public void testCanEatAt() { assertTrue(q_w.canEatAt(4, 0)); assertFalse(p1_b.canEatAt(7, 2)); }