Sha256: a82146242d78aa2da9eec613bf9509bb502a99969353a4b390ff1376b189d77f

Contents?: true

Size: 1.71 KB

Versions: 90

Compression:

Stored size: 1.71 KB

Contents

// This file was auto-generated based on version 1.1.0 of the canonical data.

module AtbashCipherTest

open FsUnit.Xunit
open Xunit

open AtbashCipher

[<Fact>]
let ``Encode yes`` () =
    encode "yes" |> should equal "bvh"

[<Fact(Skip = "Remove to run test")>]
let ``Encode no`` () =
    encode "no" |> should equal "ml"

[<Fact(Skip = "Remove to run test")>]
let ``Encode OMG`` () =
    encode "OMG" |> should equal "lnt"

[<Fact(Skip = "Remove to run test")>]
let ``Encode spaces`` () =
    encode "O M G" |> should equal "lnt"

[<Fact(Skip = "Remove to run test")>]
let ``Encode mindblowingly`` () =
    encode "mindblowingly" |> should equal "nrmwy oldrm tob"

[<Fact(Skip = "Remove to run test")>]
let ``Encode numbers`` () =
    encode "Testing,1 2 3, testing." |> should equal "gvhgr mt123 gvhgr mt"

[<Fact(Skip = "Remove to run test")>]
let ``Encode deep thought`` () =
    encode "Truth is fiction." |> should equal "gifgs rhurx grlm"

[<Fact(Skip = "Remove to run test")>]
let ``Encode all the letters`` () =
    encode "The quick brown fox jumps over the lazy dog." |> should equal "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"

[<Fact(Skip = "Remove to run test")>]
let ``Decode exercism`` () =
    decode "vcvix rhn" |> should equal "exercism"

[<Fact(Skip = "Remove to run test")>]
let ``Decode a sentence`` () =
    decode "zmlyh gzxov rhlug vmzhg vkkrm thglm v" |> should equal "anobstacleisoftenasteppingstone"

[<Fact(Skip = "Remove to run test")>]
let ``Decode numbers`` () =
    decode "gvhgr mt123 gvhgr mt" |> should equal "testing123testing"

[<Fact(Skip = "Remove to run test")>]
let ``Decode all the letters`` () =
    decode "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt" |> should equal "thequickbrownfoxjumpsoverthelazydog"

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.179 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.178 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.177 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.176 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.175 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.174 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.173 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.172 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.171 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.170 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.169 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.167 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.166 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.165 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.164 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.163 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.162 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.161 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.160 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs