Skip to content

Commit

Permalink
Leap tests: years are transposed in two tests (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennj committed Aug 29, 2023
1 parent 6de1d52 commit b8dd7f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/leap/leap-tests.8th
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"year not divisible by 4 in common year" ( 1800 leap-year? ) test_false
"year not divisible by 4 in common year" ( 2015 leap-year? ) test_false
"year divisible by 100 but not by 3 is still not a leap year" ( 1900 leap-year? ) test_false
"year divisible by 2, not divisible by 4 in common year" ( 1970 leap-year? ) test_false
"year divisible by 200, not divisible by 400 in common year" ( 2015 leap-year? ) test_false
"year divisible by 200, not divisible by 400 in common year" ( 1800 leap-year? ) test_false
"year divisible by 100, not divisible by 400 in common year" ( 2100 leap-year? ) test_false
"year divisible by 4 and 5 is still a leap year" ( 1960 leap-year? ) test_true
"year divisible by 4, not divisible by 100 in leap year" ( 1996 leap-year? ) test_true
Expand Down

0 comments on commit b8dd7f1

Please sign in to comment.