Exemplo n.º 1
0
 def test_bless1(self):
     c0 = Card.from_query("kaede5", custom_pots=(10, 10, 5, 0, 10))
     c1 = Card.from_query("natalia1", custom_pots=(10, 0, 0, 0, 10))
     c2 = Card.from_query("yoshino3", custom_pots=(0, 10, 10, 0, 10))
     c3 = Card.from_query("sarina1", custom_pots=(0, 0, 0, 0, 0))
     c4 = Card.from_query("shiki3", custom_pots=(10, 0, 10, 0, 10))
     guest = Card.from_query("kaede2", custom_pots=(10, 10, 10, 0, 0))
     unit = Unit.from_list([c0, c1, c2, c3, c4, guest])
     live = Live()
     live.set_music(music_name="印象", difficulty=Difficulty.MPLUS)
     live.set_unit(unit)
     sim = Simulator(live)
     sim._setup_simulator(support=110319)
     self.assertEqual(sim.total_appeal, 279476)
Exemplo n.º 2
0
 def test_bless3(self):
     # For some reason, with reso, the other bonuses can only be 0 or -100
     c0 = Card.from_query("kaede5", custom_pots=(10, 10, 5, 0, 10))
     c1 = Card.from_query("karen4", custom_pots=(0, 6, 10, 0, 10))
     c2 = Card.from_query("syuko4", custom_pots=(0, 0, 8, 0, 10))
     c3 = Card.from_query("asuka4", custom_pots=(10, 10, 0, 0, 10))
     c4 = Card.from_query("shiki3", custom_pots=(10, 0, 10, 0, 10))
     guest = Card.from_query("yui2", custom_pots=(10, 10, 10, 0, 0))
     unit = Unit.from_list([c0, c1, c2, c3, c4, guest])
     live = Live()
     live.set_music(music_name="印象", difficulty=Difficulty.MPLUS)
     live.set_unit(unit)
     sim = Simulator(live)
     sim._setup_simulator(support=110319)
     self.assertEqual(sim.total_appeal, 189565)