Example #1
0
 def test_twenty_third_calculation4(self):
     F = Formuls("ada84вм")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #2
0
 def test_twenty_fourth_calculation4(self):
     F = Formuls("фвісы2ыс15")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #3
0
 def test_sixth_calculation4(self):
     F = Formuls(1000)
     res = F.formul_4()
     self.assertEqual(res, 6364.0)
Example #4
0
 def test_twenty_second_calculation4(self):
     F = Formuls("sd484")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #5
0
 def test_twenty_ninth_calculation4(self):
     F = Formuls("511`  `")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #6
0
 def test_thirtieth_calculation4(self):
     F = Formuls("/74dac826k")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #7
0
 def test_twelfth_calculation4(self):
     F = Formuls("-151")
     res = F.formul_4()
     self.assertEqual(res, NonPositiveIncorrect entry)
Example #8
0
 def test_twenty_seventh_calculation4(self):
     F = Formuls("*5+a4сі")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #9
0
 def test_first_calculation4(self):
     F = Formuls(1)
     res = F.formul_4()
     self.assertEqual(res, 6.364)
Example #10
0
 def test_tenth_calculation4(self):
     F = Formuls(300)
     res = F.formul_4()
     self.assertEqual(res, 1909.2)
Example #11
0
 def test_ninth_calculation4(self):
     F = Formuls(200)
     res = F.formul_4()
     self.assertEqual(res, 1272.8)
Example #12
0
 def test_eighth_calculation4(self):
     F = Formuls(192.3)
     res = F.formul_4()
     self.assertEqual(res, 1223.7972)
Example #13
0
 def test_seventh_calculation4(self):
     F = Formuls(199)
     res = F.formul_4()
     self.assertEqual(res, 1266.436)
Example #14
0
 def test_twenty_fifth_calculation4(self):
     F = Formuls("48увсdv84")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #15
0
 def test_fifteenth_calculation4(self):
     F = Formuls("k0771+")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #16
0
 def test_twenty_sixth_calculation4(self):
     F = Formuls("lka462")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #17
0
 def test_eighteenth_calculation4(self):
     F = Formuls("98u")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #18
0
 def test_twenty_eighth_calculation4(self):
     F = Formuls("9a4841ccd8u")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #19
0
 def test_second_calculation4(self):
     F = Formuls(0.1)
     res = F.formul_4()
     self.assertEqual(res, 0.6364000000000001)
Example #20
0
 def test_third_calculation4(self):
     F = Formuls(0)
     res = F.formul_4()
     self.assertEqual(res, 0.0)
Example #21
0
 def test_twenty_first_calculation4(self):
     F = Formuls("одisd")
     res = F.formul_4()
     self.assertEqual(res, "Incorrect entry")
Example #22
0
 def test_fourth_calculation4(self):
     F = Formuls(2)
     res = F.formul_4()
     self.assertEqual(res, 12.728)
Example #23
0
 def test_fifth_calculation4(self):
     F = Formuls(58)
     res = F.formul_4()
     self.assertEqual(res, 369.11199999999997)