Beispiel #1
0
 public void GetBrownianTest1d()
 {
     float[] f = new float[1];
     f[0] = .3f;
     perlin1d.GetPerlinBrownianMotion(f, 32.0f);
     Assert.IsTrue(f.Length == 1);
 }
Beispiel #2
0
 public void GetBrownianTest2d()
 {
     float[] f = new float[2];
     f[0] = .1f;
     f[1] = .2f;
     perlin2d.GetPerlinBrownianMotion(f, 32.0f);
     Assert.IsTrue(f.Length == 2);
 }
Beispiel #3
0
 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);
 }