public void ShouldSimulateFromTheGroup() { Assert.AreEqual(group.Location, setting.BlockSpawnPoint); simulatedGroup.Simulate(group); Assert.AreEqual(group.Location, simulatedGroup.Location); Assert.AreEqual(group.GetPattern(), simulatedGroup.GetPattern()); Assert.AreEqual(group.ChildrenLocation.Length, simulatedGroup.ChildrenLocation.Length); for (int i = 0; i < group.Children.Length; i++) { Assert.AreEqual(group.ChildrenLocation[i], simulatedGroup.ChildrenLocation[i]); Assert.AreEqual(group.Children[i].Number, simulatedGroup.Children[i].Number); Assert.AreEqual(group.Children[i].BlockType, simulatedGroup.Children[i].BlockType); } }