public void GetBrownianTest1d() { float[] f = new float[1]; f[0] = .3f; perlin1d.GetPerlinBrownianMotion(f, 32.0f); Assert.IsTrue(f.Length == 1); }
public void GetBrownianTest2d() { float[] f = new float[2]; f[0] = .1f; f[1] = .2f; perlin2d.GetPerlinBrownianMotion(f, 32.0f); Assert.IsTrue(f.Length == 2); }
public void GetBrownianTest3d() { float[] f = new float[3]; f[0] = .1f; f[1] = .2f; f[2] = .3f; perlin3d.GetPerlinBrownianMotion(f, 32.0f); Assert.IsTrue(f.Length == 3); }