Exemplo n.º 1
0
 public void TestNextStep()
 {
     var game = new Game(new HashSet<Size> { new Size(0, 0), new Size(1, 0), new Size(-1, 0) });
     CollectionAssert.AreEquivalent(
         new HashSet<Size> { new Size(0, 0), new Size(0, 1), new Size(0, -1) },
         game.NextStep()
         );
 }
Exemplo n.º 2
0
 static void Run(Game game)
 {
     SlowConsolePrint(game.ToString());
     Run(new Game(game.NextStep()));
 }