Beispiel #1
0
 def test_twenty_first_calculation4(self):
     F = Formulas("одisd")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #2
0
 def test_twenty_second_calculation4(self):
     F = Formulas("sd484")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #3
0
 def test_thirtieth_calculation4(self):
     F = Formulas("/74dac826k")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #4
0
 def test_sixth_calculation4(self):
     F = Formulas(1000)
     res = F.calculation_4()
     self.assertEqual(res, 4314.0)
Beispiel #5
0
 def test_twenty_seventh_calculation4(self):
     F = Formulas("*5+a4сі")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #6
0
 def test_twenty_ninth_calculation4(self):
     F = Formulas("511`  `")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #7
0
 def test_eleventh_calculation4(self):
     F = Formulas("x")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #8
0
 def test_twenty_fifth_calculation4(self):
     F = Formulas("48увсdv84")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #9
0
 def test_first_calculation4(self):
     F = Formulas(1)
     res = F.calculation_4()
     self.assertEqual(res, 4.314)
Beispiel #10
0
 def test_tenth_calculation4(self):
     F = Formulas(300)
     res = F.calculation_4()
     self.assertEqual(res, 1294.2)
Beispiel #11
0
 def test_ninth_calculation4(self):
     F = Formulas(200)
     res = F.calculation_4()
     self.assertEqual(res, 862.8)
Beispiel #12
0
 def test_eighth_calculation4(self):
     F = Formulas(192.359)
     res = F.calculation_4()
     self.assertEqual(res, 829.836726)
Beispiel #13
0
 def test_seventh_calculation4(self):
     F = Formulas(199)
     res = F.calculation_4()
     self.assertEqual(res, 858.486)
Beispiel #14
0
 def test_twenty_third_calculation4(self):
     F = Formulas("ada84вм")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #15
0
 def test_twelfth_calculation4(self):
     F = Formulas("151")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #16
0
 def test_twenty_fourth_calculation4(self):
     F = Formulas("фвісы2ыс15")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #17
0
 def test_fifteenth_calculation4(self):
     F = Formulas("k0771+")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #18
0
 def test_twenty_sixth_calculation4(self):
     F = Formulas("lka462")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #19
0
 def test_eighteenth_calculation4(self):
     F = Formulas("98u")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #20
0
 def test_twenty_eighth_calculation4(self):
     F = Formulas("9a4841ccd8u")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #21
0
 def test_nineteenth_calculation4(self):
     F = Formulas("  `")
     res = F.calculation_4()
     self.assertEqual(res, "Error")
Beispiel #22
0
 def test_third_calculation4(self):
     F = Formulas(0)
     res = F.calculation_4()
     self.assertEqual(res, 0.0)
Beispiel #23
0
 def test_second_calculation4(self):
     F = Formulas(0.1)
     res = F.calculation_4()
     self.assertEqual(res, 0.4314)
Beispiel #24
0
 def test_fourth_calculation4(self):
     F = Formulas(-5)
     res = F.calculation_4()
     self.assertEqual(res, -21.57)
Beispiel #25
0
 def test_fifth_calculation4(self):
     F = Formulas(-200)
     res = F.calculation_4()
     self.assertEqual(res, -862.8)