def test_value_combined(self): """ Tests combined value """ md = MinData(common=1, corrosive=2, base=3, noble=4, rare=5, precious=6, radioactive=7, exotic=8) self.assertEqual(md.value(), 347)
def test_value_radioactive(self): """ Tests the value for radioactive """ md = MinData(radioactive=3) self.assertEqual(md.value(), 24)
def test_value_precious(self): """ Tests the value for precious """ md = MinData(precious=3) self.assertEqual(md.value(), 18)
def test_value_rare(self): """ Tests the value for rare """ md = MinData(rare=3) self.assertEqual(md.value(), 15)
def test_value_noble(self): """ Tests the value for noble """ md = MinData(noble=3) self.assertEqual(md.value(), 12)
def test_value_base(self): """ Tests the value for base """ md = MinData(base=3) self.assertEqual(md.value(), 9)
def test_value_corrosive(self): """ Tests the value for corrosive """ md = MinData(corrosive=3) self.assertEqual(md.value(), 6)
def test_value_common(self): """ Tests the value for common """ md = MinData(common=3) self.assertEqual(md.value(), 3)
def test_value_empty(self): """ Tests the value for empty """ md = MinData() self.assertEqual(md.value(), 0)
def test_value_exotic(self): """ Tests the value for exotic """ md = MinData(exotic=3) self.assertEqual(md.value(), 75)