Esempio n. 1
0
        public void DiamondSquareWithFixedValueFuncCreates5X5Plane()
        {
            var map = DiamondSquare.CreateHeightMap(5, 1f);

            DiamondSquare.Apply(ref map, null, () => 0f);

            Assert.That(map, Has.All.EqualTo(1f));
        }