public void Save_Reset_ChangeScaleToFour_Save_ChangeScaleToFive_Reset_ScaleBackToFour()
        {
            var world    = TestHelper.CreateMockWorld2D_3x3();
            var editor   = new WorldEditor(world, Mock.Of <ICoordinateConverter>());
            var expected = 4;

            world.Scale = expected;
            editor.Save();
            world.Scale = 5;
            editor.Reset();

            Assert.Equal(expected, world.Scale);
        }
        public void Save_Reset_SaveThenSetStateThenReset_WorldStateEqualToSavedState()
        {
            var world    = TestHelper.CreateMockWorld2D_3x3();
            var editor   = new WorldEditor(world, Mock.Of <ICoordinateConverter>());
            var expected = (bool[])world.State.Clone();

            editor.Save();
            for (int i = 0; i < world.State.Length; ++i)
            {
                world.State[i] = true;
            }
            editor.Reset();

            Assert.Equal(expected, world.State);
        }