コード例 #1
0
 def test_twenty_first_calculation1(self):
     Form = Formulas("frd")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #2
0
 def test_twenty_second_calculation1(self):
     Form = Formulas("sd484")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #3
0
 def test_fourth_calculation1(self):
     Form = Formulas(-5)
     res = Form.result_1()
     self.assertEqual(res, 423.42)
コード例 #4
0
 def test_seventh_calculation1(self):
     Form = Formulas(199)
     res = Form.result_1()
     self.assertEqual(res, 2467366295.196)
コード例 #5
0
 def test_twenty_sixth_calculation1(self):
     Form = Formulas("lka462")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #6
0
 def test_twenty_ninth_calculation1(self):
     Form = Formulas("51")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #7
0
 def test_second_calculation1(self):
     Form = Formulas(0.1)
     res = Form.result_1()
     self.assertEqual(res, 0.16663440000000002)
コード例 #8
0
 def test_twenty_fourth_calculation1(self):
     Form = Formulas("adw98")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #9
0
 def test_twelfth_calculation1(self):
     Form = Formulas("minrugh")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #10
0
 def test_thirteenth_calculation1(self):
     Form = Formulas("ewryt")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #11
0
 def test_tenth_calculation1(self):
     Form = Formulas(300)
     res = Form.result_1()
     self.assertEqual(res, 12691391235.3)
コード例 #12
0
 def test_ninth_calculation1(self):
     Form = Formulas(200)
     res = Form.result_1()
     self.assertEqual(res, 2517182450.2)
コード例 #13
0
 def test_eighth_calculation1(self):
     Form = Formulas(192.359)
     res = Form.result_1()
     self.assertEqual(res, 2155038503.593075)
コード例 #14
0
 def test_twenty_third_calculation1(self):
     Form = Formulas("kimhj")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #15
0
 def test_fourteenth_calculation1(self):
     Form = Formulas(-5487)
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #16
0
 def test_third_calculation1(self):
     Form = Formulas(0)
     res = Form.result_1()
     self.assertEqual(res, 0.0)
コード例 #17
0
 def test_fifteenth_calculation1(self):
     Form = Formulas("randirandom")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #18
0
 def test_first_calculation1(self):
     Form = Formulas(1)
     res = Form.result_1()
     self.assertEqual(res, 5.016)
コード例 #19
0
 def test_seventeenth_calculation1(self):
     Form = Formulas(-10)
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #20
0
 def test_twenty_eighth_calculation1(self):
     Form = Formulas("9ad8u")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #21
0
 def test_nineteenth_calculation1(self):
     Form = Formulas("  `")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #22
0
 def test_thirtieth_calculation1(self):
     Form = Formulas("4c86k")
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #23
0
 def test_twentieth_calculation1(self):
     Form = Formulas(765)
     res = Form.result_1()
     self.assertEqual(res, "Error")
コード例 #24
0
 def test_fifth_calculation1(self):
     Form = Formulas(-200)
     res = Form.result_1()
     self.assertEqual(res, 2455437709.8)
コード例 #25
0
 def test_sixth_calculation1(self):
     Form = Formulas(1000)
     res = Form.result_1()
     self.assertEqual(res, 1557856753851.0)