Sha256: a8221b3414dae795487c027faf34a7af909be2255172d8c50ea8a3c339d2961b

Contents?: true

Size: 1.71 KB

Versions: 44

Compression:

Stored size: 1.71 KB

Contents

// This file was auto-generated based on version 1.0.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

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.88 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.87 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.86 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.85 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.84 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.83 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.82 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.81 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.80 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.79 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.78 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.77 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.76 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.75 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.74 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.73 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.72 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.71 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.70 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs
trackler-2.2.1.69 tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs