def test_that_add_result_is_int(self):
     self.assertIsInstance(add(9, 5), int)
 def test_that_illegal_number_of_arguments_cant_be_passed_into_the_division_method(
         self):
     with self.assertRaises(TypeError):
         self.assertEqual(add(3, 6, 4), 0)
 def test_that_non_int_cant_be_divided_to_int(self):
     with self.assertRaises(TypeError):
         add("d", 3)
 def test_that_function_can_add_two_numbers(self):
     self.assertEqual(add(4, 5), 9)
 def test_that_non_int_cant_be_multiplied_to_int(self):
     with self.assertRaises(TypeError):
         add("8", 3)
 def test_that_non_int_cant_be_subtracted_to_int(self):
     with self.assertRaises(TypeError):
         add("op", 3)