Skip to content

Commit 93ead59

Browse files
committed
add opEquals test for MetaSpline
1 parent 88a3790 commit 93ead59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/mir/interpolate/spline.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,6 +1777,7 @@ unittest
17771777
auto int3 = spline!double(x1.rcslice!(immutable double), grid[3]);
17781778

17791779
auto interpolant = metaSpline(x0.rcarray!(immutable double), rcarray(int0, int1, int2, int3).lightConst, SplineConfiguration!double.init);
1780+
assert(interpolant == interpolant);
17801781

17811782
///// compute test data ////
17821783
auto test_grid = cartesian(x0.sliced + 1.23, x1.sliced + 3.23);

0 commit comments

Comments
 (0)