mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-22 15:15:52 +00:00
Refactor
This commit is contained in:
parent
703ecf7465
commit
e2428aadbf
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user