This commit is contained in:
Hanno Braun 2023-02-21 14:53:50 +01:00
parent 703ecf7465
commit e2428aadbf

View File

@ -108,7 +108,8 @@ mod tests {
.insert(&mut services.objects) .insert(&mut services.objects)
}; };
let approx = (&half_edge, surface.deref()).approx(1.); let tolerance = 1.;
let approx = (&half_edge, surface.deref()).approx(tolerance);
assert_eq!(approx.curve_approx, CurveApprox::empty()); assert_eq!(approx.curve_approx, CurveApprox::empty());
} }
@ -134,7 +135,8 @@ mod tests {
.insert(&mut services.objects) .insert(&mut services.objects)
}; };
let approx = (&half_edge, surface.deref()).approx(1.); let tolerance = 1.;
let approx = (&half_edge, surface.deref()).approx(tolerance);
assert_eq!(approx.curve_approx, CurveApprox::empty()); assert_eq!(approx.curve_approx, CurveApprox::empty());
} }