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.58 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.57 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.56 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.55 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.54 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt
trackler-2.2.1.53 tracks/kotlin/exercises/two-fer/src/test/kotlin/TwoferTest.kt