Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Kernel test: the 851 middle point's y written at f64's shortest digits (clippy excessive_precision)

jyviko55a5f86e2e3f
diff --git a/crates/kernel/src/issue_851_tests.rs b/crates/kernel/src/issue_851_tests.rs
index 1518afa877..44a83a481b 100644
--- a/crates/kernel/src/issue_851_tests.rs
+++ b/crates/kernel/src/issue_851_tests.rs
@@ -370,7 +370,7 @@ fn rounds_ending_in_a_sphere_of_any_size_never_panic() {
#[test]
fn a_ball_as_wide_as_the_round_it_rolls_on_is_refused_saying_why() {
let rounded = fillet(&part(), &[tf()], 2.0).unwrap();
- let middle = Vec3::new(41.17486688363082, -20.413218067968561, 9.415188112149071);
+ let middle = Vec3::new(41.17486688363082, -20.41321806796856, 9.415188112149071);
let why = match fillet(&rounded, &[middle], 2.0) {
Err(KernelError::TooLarge(why)) => why,
other => panic!("{:?}", other.map(|b| b.face_count())),