def test_card_cost_9(self): cost = {"X1": 0, "X2": 0} card = card_factory(cost) talent_tray = talent_tray_factory(0, 1, 1, 0, 1) options = talent_tray.payment_methods(card) self.assertEqual(0, len(options))
def test_card_cost_6(self): cost = {"X1": 2, "X": 1} card = card_factory(cost) talent_tray = talent_tray_factory(1, 3, 1, 2, 1) options = talent_tray.payment_methods(card) self.assertEqual(19, len(options))
def test_card_cost_1(self): cost = {"X1": 1, "X2": 1, "X": 1} card = card_factory(cost) talent_tray = talent_tray_factory(2, 1, 1, 0, 0) options = talent_tray.payment_methods(card) self.assertEqual(2, len(options))
def test_card_cost_5(self): cost = {"X": 3} card = card_factory(cost) talent_tray = talent_tray_factory(0, 1, 1, 1, 1) options = talent_tray.payment_methods(card) self.assertEqual(4, len(options))