tracks/kotlin/exercises/rotational-cipher/src/test/kotlin/RotationalCipherTest.kt in trackler-2.2.1.52 vs tracks/kotlin/exercises/rotational-cipher/src/test/kotlin/RotationalCipherTest.kt in trackler-2.2.1.53
- old
+ new
@@ -3,25 +3,25 @@
import kotlin.test.assertEquals
class RotationalCipherTest {
@Test
+ fun testRotateLowercaseABy0() {
+ val cipher = RotationalCipher(0)
+ assertEquals("a", cipher.encode("a"))
+ }
+
+ @Ignore
+ @Test
fun testRotateLowercaseABy1NoWrapAround() {
val cipher = RotationalCipher(1)
assertEquals("b", cipher.encode("a"))
}
@Ignore
@Test
fun testRotateLowercaseABy26SingleWrapAround() {
val cipher = RotationalCipher(26)
- assertEquals("a", cipher.encode("a"))
- }
-
- @Ignore
- @Test
- fun testRotateLowercaseABy0() {
- val cipher = RotationalCipher(0)
assertEquals("a", cipher.encode("a"))
}
@Ignore
@Test