コード例 #1
0
 def test_wonder_score(self):
     left_player = Player({'production': {}})
     right_player = Player({'production': {}})
     player = Player(self.wonders['Gizah']['sides']['A'])
     player.with_neighbor(left_player, right_player)
     right_player.with_neighbor(player, left_player)
     left_player.with_neighbor(right_player, player)
     player.build_structure(self.structures['Stone Pit'])
     player.build_wonder_stage()
     self.assertEqual(player.score(), 4)