def test_place(self): """ test placement of moves Test to see if the a player can place a piece """ p1 = Player(Color.WHITE) hive = Hive() p1.place(Ant, HCP(1, 1), hive) self.assertFalse(hive.empty())
def test_starting_pawn(self): board = Hive() piece = Spider(Color.BLACK) board.add(piece, HCP(0,0)) self.assertFalse(board.empty())
def test_blankboard(self): board = Hive() self.assertTrue(board.empty())