def test_two(self): elements_dict = {'h': 3, 'be': 2, 'c': 6} self.assertAlmostEqual(calc_molar_mass(elements_dict, data_table), 93.1128766)
def test_one(self): elements_dict = {'h': 2, 'he': 3, 'md': 2} self.assertAlmostEqual(calc_molar_mass(elements_dict, data_table), 530.0236946)
def func_eight(elements_dict, data_table): molar_mass = calc_molar_mass(elements_dict, data_table) return molar_mass
def test_two(self): elements_dict = {'h':3,'be':2,'c':6} self.assertAlmostEqual(calc_molar_mass(elements_dict,data_table), 93.1128766)
def test_one(self): elements_dict = {'h':2,'he':3,'md':2} self.assertAlmostEqual(calc_molar_mass(elements_dict,data_table), 530.0236946)