Esempio n. 1
0
 def test_positive_integer(self):
     value = 48
     results = ASI.is_negative_number(value)
     self.assertFalse(results,
                      'incorrect results for positive integer value')
Esempio n. 2
0
 def test_negative_num_less_than_zero(self):
     value = -0.05637
     results = ASI.is_negative_number(value)
     self.assertTrue(results,
                     'incorrect results for negative value less than zero')
Esempio n. 3
0
 def test_negative_integer(self):
     value = -13
     results = ASI.is_negative_number(value)
     self.assertTrue(results,
                     'incorrect results for negative integer value')
Esempio n. 4
0
 def test_positive_num_less_than_zero(self):
     value = 0.00456
     results = ASI.is_negative_number(value)
     self.assertFalse(
         results, 'incorrect results for positive value less than zero')