mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-22 23:25:51 +00:00
Refactor
This commit is contained in:
parent
3e9fe65f0c
commit
703ecf7465
@ -171,7 +171,7 @@ mod tests {
|
|||||||
ApproxPoint::new(point_surface, point_global)
|
ApproxPoint::new(point_surface, point_global)
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
assert_eq!(approx.points, expected_approx);
|
assert_eq!(approx, CurveApprox::empty().with_points(expected_approx));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@ -200,6 +200,6 @@ mod tests {
|
|||||||
ApproxPoint::new(point_surface, point_global)
|
ApproxPoint::new(point_surface, point_global)
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
assert_eq!(approx.points, expected_approx);
|
assert_eq!(approx, CurveApprox::empty().with_points(expected_approx));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user