This commit is contained in:
Hanno Braun 2023-02-21 14:52:07 +01:00
parent 3e9fe65f0c
commit 703ecf7465

View File

@ -171,7 +171,7 @@ mod tests {
ApproxPoint::new(point_surface, point_global)
})
.collect::<Vec<_>>();
assert_eq!(approx.points, expected_approx);
assert_eq!(approx, CurveApprox::empty().with_points(expected_approx));
}
#[test]
@ -200,6 +200,6 @@ mod tests {
ApproxPoint::new(point_surface, point_global)
})
.collect::<Vec<_>>();
assert_eq!(approx.points, expected_approx);
assert_eq!(approx, CurveApprox::empty().with_points(expected_approx));
}
}