Example #1
0
 def test_divisibleby(self):
     self.assertEqual(divisibleby(4, 2), True)
     self.assertEqual(divisibleby(4, 3), False)
Example #2
0
 def test_divisibleby(self):
     self.assertEqual(divisibleby(4, 2), True)
     self.assertEqual(divisibleby(4, 3), False)
Example #3
0
 def test_false(self):
     self.assertIs(divisibleby(4, 3), False)
Example #4
0
 def test_true(self):
     self.assertIs(divisibleby(4, 2), True)
Example #5
0
 def test_false(self):
     self.assertIs(divisibleby(4, 3), False)
Example #6
0
 def test_true(self):
     self.assertIs(divisibleby(4, 2), True)