Skip to content
Closed
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
18 changes: 9 additions & 9 deletions exercises/leap/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"cases": [
{
"uuid": "6466b30d-519c-438e-935d-388224ab5223",
"description": "year not divisible by 4 in common year",
"description": "A year not divisible by 4 is a common year",
"property": "leapYear",
"input": {
"year": 2015
Expand All @@ -12,7 +12,7 @@
},
{
"uuid": "ac227e82-ee82-4a09-9eb6-4f84331ffdb0",
"description": "year divisible by 2, not divisible by 4 in common year",
"description": "A year divisible by 2 and not divisible by 4 is a common year",
"property": "leapYear",
"input": {
"year": 1970
Expand All @@ -21,7 +21,7 @@
},
{
"uuid": "4fe9b84c-8e65-489e-970b-856d60b8b78e",
"description": "year divisible by 4, not divisible by 100 in leap year",
"description": "A year divisible by 4 and not divisible by 100 is a leap year",
"property": "leapYear",
"input": {
"year": 1996
Expand All @@ -30,7 +30,7 @@
},
{
"uuid": "7fc6aed7-e63c-48f5-ae05-5fe182f60a5d",
"description": "year divisible by 4 and 5 is still a leap year",
"description": "A year divisible by both 4 and 5 is a leap year",
"property": "leapYear",
"input": {
"year": 1960
Expand All @@ -39,7 +39,7 @@
},
{
"uuid": "78a7848f-9667-4192-ae53-87b30c9a02dd",
"description": "year divisible by 100, not divisible by 400 in common year",
"description": "A year divisible by 100 and not divisible by 400 is a common year",
"property": "leapYear",
"input": {
"year": 2100
Expand All @@ -48,7 +48,7 @@
},
{
"uuid": "9d70f938-537c-40a6-ba19-f50739ce8bac",
"description": "year divisible by 100 but not by 3 is still not a leap year",
"description": "A year divisible by 100 and not divisible by 3 is a common year",
"property": "leapYear",
"input": {
"year": 1900
Expand All @@ -57,7 +57,7 @@
},
{
"uuid": "42ee56ad-d3e6-48f1-8e3f-c84078d916fc",
"description": "year divisible by 400 is leap year",
"description": "A year divisible by 400 is a leap year",
"property": "leapYear",
"input": {
"year": 2000
Expand All @@ -66,7 +66,7 @@
},
{
"uuid": "57902c77-6fe9-40de-8302-587b5c27121e",
"description": "year divisible by 400 but not by 125 is still a leap year",
"description": "A year divisible by 400 and not divisible by 125 is a leap year",
"property": "leapYear",
"input": {
"year": 2400
Expand All @@ -75,7 +75,7 @@
},
{
"uuid": "c30331f6-f9f6-4881-ad38-8ca8c12520c1",
"description": "year divisible by 200, not divisible by 400 in common year",
"description": "A year divisible by 200 and not divisible by 400 is a common year",
"property": "leapYear",
"input": {
"year": 1800
Expand Down