Sha256: c8015a3a02dad03ed4a1966530bc2c2ae0d18331f34002873d552870d0e1d4b7

Contents?: true

Size: 559 Bytes

Versions: 126

Compression:

Stored size: 559 Bytes

Contents

import org.junit.Ignore
import org.junit.Test
import kotlin.test.assertEquals

class TwoferTest {

    @Test
    fun noNameGiven() {
        assertEquals("One for you, one for me.", twofer())
    }

    @Test
    @Ignore
    fun aNameGiven() {
        assertEquals("One for Alice, one for me.", twofer("Alice"))
    }

    @Test
    @Ignore
    fun anotherNameGiven() {
        assertEquals("One for Bob, one for me.", twofer("Bob"))
    }

    @Test
    @Ignore
    fun emptyStringGiven() {
        assertEquals("One for , one for me.", twofer(""))
    }

}

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.158 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.157 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.156 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.155 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.154 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.153 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.152 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.151 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.150 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.149 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.148 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.147 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.146 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.145 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.144 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.143 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.142 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.141 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.140 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt