def test_check_formula_7(self): input = "V+4" result = cf._check_formula(input) expected = ["V", "+", "4"] self.assertEqual(result, expected)
def test_check_formula_1(self): input = 'Fe2(SO4)3' result = cf._check_formula(input) expected = ['Fe', '2', '(', 'S', 'O', '4', ')', '3'] self.assertEqual(result, expected)
def test_check_formula_5(self): input = "C100H202" result = cf._check_formula(input) expected = ["C", "100", "H", "202"] self.assertEqual(result, expected)
def test_check_formula_6(self): input = "Fe+++" result = cf._check_formula(input) expected = ["Fe", "+++"] self.assertEqual(result, expected)
def test_check_formula_6(self): input = 'Fe+++' result = cf._check_formula(input) expected = ['Fe', '+++'] self.assertEqual(result, expected)
def test_check_formula_2(self): input = 'C7H16' result = cf._check_formula(input) expected = ['C', '7', 'H', '16'] self.assertEqual(result,expected)
def test_check_formula_1(self): input = "Fe2(SO4)3" result = cf._check_formula(input) expected = ["Fe", "2", "(", "S", "O", "4", ")", "3"] self.assertEqual(result, expected)
def test_check_formula_4(self): input = 'MgCl2' result = cf._check_formula(input) expected = ['Mg', 'Cl', '2'] self.assertEqual(result, expected)
def test_check_formula_6(self): input = 'Fe+++' result = cf._check_formula(input) expected = ['Fe', '+++'] self.assertEqual(result,expected)
def test_check_formula_7(self): input = 'V+4' result = cf._check_formula(input) expected = ['V', '+', '4'] self.assertEqual(result,expected)
def test_check_formula_5(self): input = 'C100H202' result = cf._check_formula(input) expected = ['C', '100', 'H', '202'] self.assertEqual(result,expected)
def test_check_formula_4(self): input = 'MgCl2' result = cf._check_formula(input) expected = ['Mg', 'Cl', '2'] self.assertEqual(result,expected)
def test_check_formula_3(self): input = '(NH3)2SO4' result = cf._check_formula(input) expected = ['(', 'N', 'H', '3', ')', '2', 'S', 'O', '4'] self.assertEqual(result,expected)
def test_check_formula_2(self): input = 'C7H16' result = cf._check_formula(input) expected = ['C', '7', 'H', '16'] self.assertEqual(result, expected)
def test_check_formula_2(self): input = "C7H16" result = cf._check_formula(input) expected = ["C", "7", "H", "16"] self.assertEqual(result, expected)
def test_check_formula_3(self): input = '(NH3)2SO4' result = cf._check_formula(input) expected = ['(', 'N', 'H', '3', ')', '2', 'S', 'O', '4'] self.assertEqual(result, expected)
def test_check_formula_3(self): input = "(NH3)2SO4" result = cf._check_formula(input) expected = ["(", "N", "H", "3", ")", "2", "S", "O", "4"] self.assertEqual(result, expected)
def test_check_formula_5(self): input = 'C100H202' result = cf._check_formula(input) expected = ['C', '100', 'H', '202'] self.assertEqual(result, expected)
def test_check_formula_4(self): input = "MgCl2" result = cf._check_formula(input) expected = ["Mg", "Cl", "2"] self.assertEqual(result, expected)
def test_check_formula_7(self): input = 'V+4' result = cf._check_formula(input) expected = ['V', '+', '4'] self.assertEqual(result, expected)
def test_check_formula_1(self): input = 'Fe2(SO4)3' result = cf._check_formula(input) expected = ['Fe', '2', '(', 'S', 'O', '4', ')', '3'] self.assertEqual(result,expected)