Esempio n. 1
0
 def test_greater_than(self):
     result = compareInputs('-1.2','-1.3')
     self.assertEqual(result.greater_than(),'-1.3 is greater than -1.2')
Esempio n. 2
0
 def test_equla(self):
     result = compareInputs('1.0','1.2')
     self.assertEqual(result.equal(), '1.0 is not equal to 1.2')
Esempio n. 3
0
 def test_less_than(self):
     result = compareInputs('-1.2','-1.1')
     self.assertEqual(result.less_than(), '-1.2 is less than -1.1')
Esempio n. 4
0
 def test_greater_than(self):
     result = compareInputs('1.2','0')
     self.assertEqual(result.greater_than(),'1.2 is greater than 0')