public void Flatten_SetsAllMapDataToZero() { // Arrange var source = new double[, ] { { 1d, 2d }, { 3d, 4d } }; var expected = new double[, ] { { 0d, 0d }, { 0d, 0d } }; var map = new HeightMap(source); // Act map.Flatten(); // Assert Assert.Equal(expected, map.Data); }