Sha256: e18f9e1b402c349dc5d333472a1353e8d6f0056cfce42b294c23c1837fa0bdc2

Contents?: true

Size: 1.15 KB

Versions: 240

Compression:

Stored size: 1.15 KB

Contents

module SecretHandshakeTest

open NUnit.Framework

open SecretHandshake

[<Test>]
let ``Test 1 handshake to wink`` () =
    Assert.That(handshake 1, Is.EqualTo(["wink"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test 10 handshake to double blink`` () =
    Assert.That(handshake 2, Is.EqualTo(["double blink"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test 100 handshake to close your eyes`` () =
    Assert.That(handshake 4, Is.EqualTo(["close your eyes"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test 1000 handshake to close your eyes`` () =
    Assert.That(handshake 8, Is.EqualTo(["jump"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test handshake 11 to wink and double blink`` () =
    Assert.That(handshake 3, Is.EqualTo(["wink"; "double blink"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test handshake 10011 to double blink and wink`` () =
    Assert.That(handshake 19, Is.EqualTo(["double blink"; "wink"]))
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Test handshake 11111 to all commands reversed`` () =
    Assert.That(handshake 31, Is.EqualTo(["jump"; "close your eyes"; "double blink"; "wink"]))

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
trackler-2.2.1.22 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.21 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.20 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.19 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.18 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.17 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.16 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.15 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.14 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.13 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.12 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.11 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.10 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.9 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.8 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.7 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.6 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.5 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.4 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs
trackler-2.2.1.3 tracks/fsharp/exercises/secret-handshake/SecretHandshakeTest.fs