def test_coins_score(self): left_player = Player({'production': {}}) right_player = Player({'production': {}}) player = Player({'production': {}}) player.with_neighbor(left_player, right_player) right_player.with_neighbor(player, left_player) left_player.with_neighbor(right_player, player) player.discard_structure() self.assertEqual(player.score(), 2)