From 3f83a075a78c4911708e4a98e669da0b95e1fffa Mon Sep 17 00:00:00 2001 From: Victor Goff Date: Wed, 20 Apr 2016 00:47:47 -0400 Subject: [PATCH] A little more descriptive Leap Year test titles This may help in adding per-test messages upon failure. --- leap.json | 12 ++++++------ leap.md | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/leap.json b/leap.json index e9a330c726..5f626dfd4b 100644 --- a/leap.json +++ b/leap.json @@ -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 } diff --git a/leap.md b/leap.md index bfb369cc3e..1b720ed22b 100644 --- a/leap.md +++ b/leap.md @@ -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].