Exemple #1
0
        public void Execute()
        {
            Console.AddInput(
                "2", "2", "00", "0.");

            Simulate(1);

            Assert.That(Console.Outputs[0], Is.EqualTo("0 0 1 0 0 1"));

            Console = new FakeConsole();
            Console.AddInput(
                "5", "1", "0.0.0");

            Simulate(1);

            Assert.That(Console.Outputs[0], Is.EqualTo("0 0 2 0 -1 -1"));
        }