We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce8c579 + 19351fe commit 9b1a59aCopy full SHA for 9b1a59a
exercises/leap/leap_test.py
@@ -3,14 +3,14 @@
3
from leap import is_leap_year
4
5
6
-# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0
+# Tests adapted from `problem-specifications//canonical-data.json` @ v1.2.0
7
8
class YearTest(unittest.TestCase):
9
def test_year_not_divisible_by_4(self):
10
self.assertIs(is_leap_year(2015), False)
11
12
def test_year_divisible_by_4_not_divisible_by_100(self):
13
- self.assertIs(is_leap_year(2016), True)
+ self.assertIs(is_leap_year(1996), True)
14
15
def test_year_divisible_by_100_not_divisible_by_400(self):
16
self.assertIs(is_leap_year(2100), False)
0 commit comments