We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b79e0 commit a2bb40eCopy full SHA for a2bb40e
exercises/luhn/.meta/version
@@ -0,0 +1 @@
1
+1.0.0
exercises/luhn/src/test/kotlin/LuhnTest.kt
@@ -5,7 +5,6 @@ import kotlin.test.assertTrue
5
6
class LuhnTest {
7
8
-
9
@Test
10
fun singleDigitStringsCannotBeValid() {
11
assertFalse(Luhn.isValid("1"))
@@ -21,14 +20,12 @@ class LuhnTest {
21
20
22
fun simpleValidSINThatRemainsValidIfReversed() {
23
assertTrue(Luhn.isValid("059"))
24
- assertTrue(Luhn.isValid("950"))
25
}
26
27
@Ignore
28
29
fun simpleValidSINThatBecomesInvalidIfReversed() {
30
assertTrue(Luhn.isValid("59"))
31
- assertFalse(Luhn.isValid("95"))
32
33
34
0 commit comments