From 4e01031bc7e05596178f608948719807edad0fba Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:48:50 -0500 Subject: [PATCH] smlib export tests: rustfmt's line for the rounded cube's edge midpoints Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ --- crates/smlib/src/export/tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/smlib/src/export/tests.rs b/crates/smlib/src/export/tests.rs index 97271a9617..2146e40122 100644 --- a/crates/smlib/src/export/tests.rs +++ b/crates/smlib/src/export/tests.rs @@ -64,8 +64,7 @@ mod native_tests { fn a_rounded_cubes_ball_patches_go_round_with_their_spheres() { let (a, r) = (20.0, 2.0); let h = a / 2.0; - let mids: Vec<[f64; 3]> = - [(0.0, 0.0), (a, 0.0), (0.0, a), (a, a)].iter().flat_map(|&(p, q)| [[h, p, q], [p, h, q], [p, q, h]]).collect(); + let mids: Vec<[f64; 3]> = [(0.0, 0.0), (a, 0.0), (0.0, a), (a, a)].iter().flat_map(|&(p, q)| [[h, p, q], [p, h, q], [p, q, h]]).collect(); let f = Brep::make_box([0.0; 3], [a; 3]).unwrap().fillet(&mids, 0.1, r).unwrap(); let record = f.to_native().unwrap(); record.validate().unwrap();