def test_divisibleby(self): self.assertEqual(divisibleby(4, 2), True) self.assertEqual(divisibleby(4, 3), False)
def test_false(self): self.assertIs(divisibleby(4, 3), False)
def test_true(self): self.assertIs(divisibleby(4, 2), True)