Пример #1
0
 public void Interpolate2d_Facts()
 {
     Assert.Equal("2d interpolator blah not found in cache", InterpolatorFunctions.Interpolate2d("blah", 0, 0));
     InterpolatorFunctions.Create2dInterpolator("pwah", new[] { 1.0 }, new[] { 1.0 }, new[, ] {
         { 1.0 }
     }, "Bilinear");
     Assert.Equal(1.0, InterpolatorFunctions.Interpolate2d("pwah", 0, 0));
 }