From a2bb40eb9e032c865d5a82a42e93a0a3145a6f9c Mon Sep 17 00:00:00 2001 From: Stuart Kent Date: Sun, 22 Oct 2017 19:33:34 +0200 Subject: [PATCH] luhn: update to v1.0.0 https://github.com/exercism/problem-specifications/blob/c8263726ed61e9ae553a61c18b15918c4f226f30/exercises/luhn/canonical-data.json --- exercises/luhn/.meta/version | 1 + exercises/luhn/src/test/kotlin/LuhnTest.kt | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 exercises/luhn/.meta/version diff --git a/exercises/luhn/.meta/version b/exercises/luhn/.meta/version new file mode 100644 index 00000000..3eefcb9d --- /dev/null +++ b/exercises/luhn/.meta/version @@ -0,0 +1 @@ +1.0.0 diff --git a/exercises/luhn/src/test/kotlin/LuhnTest.kt b/exercises/luhn/src/test/kotlin/LuhnTest.kt index b0764ef3..50baaadd 100644 --- a/exercises/luhn/src/test/kotlin/LuhnTest.kt +++ b/exercises/luhn/src/test/kotlin/LuhnTest.kt @@ -5,7 +5,6 @@ import kotlin.test.assertTrue class LuhnTest { - @Test fun singleDigitStringsCannotBeValid() { assertFalse(Luhn.isValid("1")) @@ -21,14 +20,12 @@ class LuhnTest { @Test fun simpleValidSINThatRemainsValidIfReversed() { assertTrue(Luhn.isValid("059")) - assertTrue(Luhn.isValid("950")) } @Ignore @Test fun simpleValidSINThatBecomesInvalidIfReversed() { assertTrue(Luhn.isValid("59")) - assertFalse(Luhn.isValid("95")) } @Ignore