Skip to content

leap: Make the test descriptions consistent #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions exercises/leap/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
{
"cases": [
{
"description": "leap year",
"description": "leap year in twentieth century",
"input": 1996,
"expected": true
},
{
"description": "standard and odd year",
"description": "odd standard year in twentieth century",
"input": 1997,
"expected": false
},
{
"description": "standard even year",
"description": "even standard year in twentieth century",
"input": 1998,
"expected": false
},
{
"description": "standard nineteenth century",
"description": "standard year in nineteenth century",
"input": 1900,
"expected": false
},
{
"description": "standard eighteenth century",
"description": "standard year in eighteenth century",
"input": 1800,
"expected": false
},
{
"description": "leap twenty fourth century",
"description": "leap year twenty four hundred",
"input": 2400,
"expected": true
},
{
"description": "leap y2k",
"description": "leap year two thousand",
"input": 2000,
"expected": true
}
Expand Down