def test_make_die_input_die__strong_d6(self): self.assertEqual(mvm.make_die(7, 0, 5, {1:0, 2:0, 3:0}), dt.StrongDie(dt.Die(7), 5))
def test_make_die_input_die__modweighteddie(self): self.assertEqual(mvm.make_die(6, 1, 0, {1:1, 2:0, 3:1}), dt.ModWeightedDie({1:1, 2:0, 3:1}, 1))
def test_make_die_input_die__strong_modweighteddie(self): self.assertEqual(mvm.make_die(6, 1, 5, {1:1, 2:0, 3:1}), dt.StrongDie(dt.ModWeightedDie({1:1, 2:0, 3:1}, 1), 5))
def test_make_die_input_die__weighteddie(self): self.assertEqual(mvm.make_die(6, 0, 0, {1:1, 2:0, 3:1}), dt.WeightedDie({1:1, 2:0, 3:1}))
def test_make_die_input_die__moddie(self): self.assertEqual(mvm.make_die(3, 1, 0, {1:1, 2:1, 3:1}), dt.ModDie(3, 1))
def test_make_die_input_die__die_dict_all_zeros(self): self.assertEqual(mvm.make_die(3, 0, 1, {1:0, 2:0, 3:0}), dt.Die(3))
def test_make_die_input_die__die_dict_all_ones(self): self.assertEqual(mvm.make_die(3, 0, 1, {1:1, 2:1, 3:1}), dt.Die(3))
def test_make_die_input_die__die_empty_dict(self): self.assertEqual(mvm.make_die(3, 0, 0, {}), dt.Die(3))