Sha256: 0c1e499178ce6b11faf9b4598df555869b4bb33881294c3139e32b65b0ef4baf

Contents?: true

Size: 1.47 KB

Versions: 115

Compression:

Stored size: 1.47 KB

Contents

using NUnit.Framework;

[TestFixture]
public class SecretHandshakeTests
{
    [Test]
    public void Test_1_handshake_to_wink()
    {
        Assert.That(SecretHandshake.Commands(1), Is.EqualTo(new[] { "wink" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_10_handshake_to_double_blink()
    {
        Assert.That(SecretHandshake.Commands(2), Is.EqualTo(new[] { "double blink" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_100_handshake_to_close_your_eyes()
    {
        Assert.That(SecretHandshake.Commands(4), Is.EqualTo(new[] { "close your eyes" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_1000_handshake_to_close_your_eyes()
    {
        Assert.That(SecretHandshake.Commands(8), Is.EqualTo(new[] { "jump" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_handshake_11_to_wink_and_double_blink()
    {
        Assert.That(SecretHandshake.Commands(3), Is.EqualTo(new[] { "wink", "double blink" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_handshake_10011_to_double_blink_and_wink()
    {
        Assert.That(SecretHandshake.Commands(19), Is.EqualTo(new[] { "double blink", "wink" }));
    }

    [Ignore("Remove to run test")]
    [Test]
    public void Test_handshake_11111_to_all_commands_reversed()
    {
        Assert.That(SecretHandshake.Commands(31), Is.EqualTo(new[] { "jump", "close your eyes", "double blink", "wink" }));
    }
}

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
trackler-2.0.6.39 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.38 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.37 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.36 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.35 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.34 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.33 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.32 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.31 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.30 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.29 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.28 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.27 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.26 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.25 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.24 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.23 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.22 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.21 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs
trackler-2.0.6.20 tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs