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