From 43551498dd4157cc529989a26e5c5009ccaf46ff Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Sat, 31 Oct 2026 09:01:52 -0400 Subject: [PATCH] STEP import test: a seam sphere whose meridian stops short of the pole imports as the whole 2 mm ball Co-Authored-By: Claude Opus 5.5 --- crates/kernel/src/step_in/tests.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/kernel/src/step_in/tests.rs b/crates/kernel/src/step_in/tests.rs index 9583c575b..725a8f93b 100644 --- a/crates/kernel/src/step_in/tests.rs +++ b/crates/kernel/src/step_in/tests.rs @@ -135,11 +135,13 @@ fn a_void_reads_as_a_cavity_whichever_way_its_shell_flag_points() { } } +/// A ball whose one face is bounded by a meridian edge from the north pole that stops short of +/// the south pole (at 2.5 rad), run out and back: the face is the whole sphere less a slit of no +/// area, so it is the same 2 mm ball as when the seam runs pole to pole. #[test] -fn non_antipodal_seam_sphere_does_not_panic() { +fn non_antipodal_seam_sphere_imports_as_a_whole_ball() { let text = seam_sphere_step(Vec3::ZERO, 2.0, Vec3::Z, Vec3::X, 0.0, false, 2.5); - let result = std::panic::catch_unwind(|| step_import(&text)); - assert!(result.is_ok()); + assert_seam_sphere(&text, 2.0); } #[test]