Skip to content

Commit

Permalink
luhn: update to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stkent committed Oct 24, 2017
1 parent 40b79e0 commit a2bb40e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions exercises/luhn/.meta/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0
3 changes: 0 additions & 3 deletions exercises/luhn/src/test/kotlin/LuhnTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import kotlin.test.assertTrue

class LuhnTest {


@Test
fun singleDigitStringsCannotBeValid() {
assertFalse(Luhn.isValid("1"))
Expand All @@ -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
Expand Down

0 comments on commit a2bb40e

Please sign in to comment.