Beispiel #1
0
 public void EmptyCopyShouldHaveSameSettingsNoLife()
 {
     var world = new World(12, 14, true);
     greatMaker.CreateLife(world);
     World another = world.CopyEmpty();
     Assert.AreEqual(world.Width, another.Width);
     Assert.AreEqual(world.Height, another.Height);
     Assert.AreEqual(world.Wrapped, another.Wrapped);
     CollectionAssert.AreNotEqual(world.State, another.State);
     Assert.True(another.State.All(s => !s));
 }