Skip to content

Commit

Permalink
Merge pull request #231 from exercism/Leap_Year_Descriptive_Test_Titles
Browse files Browse the repository at this point in the history
A little more descriptive Leap Year test titles
  • Loading branch information
kytrinyx committed Apr 20, 2016
2 parents 3904a15 + 3f83a07 commit eda25a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions leap.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
"expected": true
},
{
"description": "non-leap year",
"description": "standard and odd year",
"input": 1997,
"expected": false
},
{
"description": "non-leap even year",
"description": "standard even year",
"input": 1998,
"expected": false
},
{
"description": "century",
"description": "standard nineteenth century",
"input": 1900,
"expected": false
},
{
"description": "second century",
"description": "standard eighteenth century",
"input": 1800,
"expected": false
},
{
"description": "fourth century",
"description": "leap twenty fourth century",
"input": 2400,
"expected": true
},
{
"description": "y2k",
"description": "leap y2k",
"input": 2000,
"expected": true
}
Expand Down
3 changes: 3 additions & 0 deletions leap.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ this look-up, pretend it doesn't exist and implement it yourself.

## Notes

Though our exercise adopts some very simple rules, there is more to
learn!

For a delightful, four minute explanation of the whole leap year
phenomenon, go watch [this youtube video][video].

Expand Down

0 comments on commit eda25a5

Please sign in to comment.