Sha256: 1e6705cbaf8efe17238800076009dbf1a9ef05bc2cf220f4757d70f11931e5bf

Contents?: true

Size: 752 Bytes

Versions: 307

Compression:

Stored size: 752 Bytes

Contents

import org.junit.Test
import org.junit.Ignore

class IncorrectKeyCipherTest {


    @Test(expected = IllegalArgumentException::class)
    fun cipherThrowsWithAllCapsKey() {
        Cipher("ABCDEF")
    }

    @Ignore
    @Test(expected = IllegalArgumentException::class)
    fun cipherThrowsWithAnyCapsKey() {
        Cipher("abcdEFg")
    }

    @Ignore
    @Test(expected = IllegalArgumentException::class)
    fun cipherThrowsWithNumericKey() {
        Cipher("12345")
    }

    @Ignore
    @Test(expected = IllegalArgumentException::class)
    fun cipherThrowsWithAnyNumericKey() {
        Cipher("abcd345ef")
    }

    @Ignore
    @Test(expected = IllegalArgumentException::class)
    fun cipherThrowsWithEmptyKey() {
        Cipher("")
    }
}

Version data entries

307 entries across 307 versions & 1 rubygems

Version Path
trackler-2.2.1.38 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.37 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.36 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.35 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.34 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.33 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.32 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.31 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.30 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.29 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.28 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.27 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.26 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.25 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.24 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.23 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.22 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.21 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.20 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt
trackler-2.2.1.19 tracks/kotlin/exercises/simple-cipher/src/test/kotlin/IncorrectKeyCipherTest.kt