public void GetPerlinTest1d() { float[] f = new float[1]; f[0] = .3f; perlin1d.GetPerlinNoise(f); Assert.IsTrue(f.Length == 1); }
public void GetPerlinTest2d() { float[] f = new float[2]; f[0] = .1f; f[1] = .2f; perlin2d.GetPerlinNoise(f); Assert.IsTrue(f.Length == 2); }
public void GetPerlinTest3d() { float[] f = new float[3]; f[0] = .1f; f[1] = .2f; f[2] = .3f; perlin3d.GetPerlinNoise(f); Assert.IsTrue(f.Length == 3); }
public void GetPerlinTest4d() { float[] f = new float[4]; f[0] = .1f; f[1] = .2f; f[2] = .3f; f[3] = .6f; perlin4d.GetPerlinNoise(f); Assert.IsTrue(f.Length == 4); }