diff --git a/crates/fj-kernel/src/algorithms/sweep/edge.rs b/crates/fj-kernel/src/algorithms/sweep/edge.rs index d95021a8f..a9490e883 100644 --- a/crates/fj-kernel/src/algorithms/sweep/edge.rs +++ b/crates/fj-kernel/src/algorithms/sweep/edge.rs @@ -203,6 +203,10 @@ mod tests { .with_surface(Some(surface.clone())) .as_line_segment_from_points([[0., 0.], [1., 0.]]) .build(&objects); + let side_up = HalfEdge::partial() + .with_surface(Some(surface.clone())) + .as_line_segment_from_points([[1., 0.], [1., 1.]]) + .build(&objects); let top = HalfEdge::partial() .with_surface(Some(surface.clone())) .as_line_segment_from_points([[0., 1.], [1., 1.]]) @@ -213,10 +217,6 @@ mod tests { .as_line_segment_from_points([[0., 0.], [0., 1.]]) .build(&objects) .reverse(); - let side_up = HalfEdge::partial() - .with_surface(Some(surface.clone())) - .as_line_segment_from_points([[1., 0.], [1., 1.]]) - .build(&objects); let cycle = Cycle::new(surface, [bottom, side_up, top, side_down]);