Exemple #1
0
 def test_check_even_no(self):
     op = Operations()
     actual_result = op.check_even_no(6)
     # expected_result = True
     # self.assertEqual(expected_result, actual_result)
     self.assertTrue(actual_result)
Exemple #2
0
 def test_check_even_no(self):
     op = Operations()
     actual_result = op.check_even_no(5)
     self.assertFalse(actual_result)
Exemple #3
0
 def test_add(self):
     abc = Operations()
     actual_result = abc.add(5, 6)
     expected_result = 11
     self.assertEqual(expected_result, actual_result)