Exemple #1
0
 def test_equals_3(self):
     self.assertEqual(opposite(-34), 34)
Exemple #2
0
 def test_equals(self):
     self.assertEqual(opposite(1), -1)
Exemple #3
0
 def test_equals_2(self):
     self.assertEqual(opposite(25.6), -25.6)
Exemple #4
0
 def test_equals_2(self):
     self.assertEqual(opposite(14), -14)
 def test_equals(self):
     self.assertEqual(opposite(1), -1)
Exemple #6
0
 def test_equals_6(self):
     self.assertEqual(opposite(-95858588225), 95858588225)
Exemple #7
0
 def test_equals_5(self):
     self.assertEqual(opposite(-3.1458), 3.1458)
Exemple #8
0
 def test_equals_4(self):
     self.assertEqual(opposite(1425.2222), -1425.2222)
Exemple #9
0
 def test_equals_3(self):
     self.assertEqual(opposite(0), 0)