engine: the crank-arm conformity test checks all-hex20, not a platform-dependent count

The tet-free sweep gives 7274 hex20 on macOS and 7334 on Linux (#115), so the exact
count failed develop's CI after #272.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-14 22:49:31 -04:00
1 parent 012119e2c2
commit 05abcec6c2
1 file changed
+3 -1
+3 -1
View File
@@ -830,7 +830,9 @@ mod tests {
fn the_crank_arm_hex20_mesh_is_conforming() {
let s = open("crank-arm");
let c = conformity(&s);
assert_eq!(s.model.elements().len(), 7274);
// The count differs between platforms (#115: 7274 on macOS, 7334 on Linux), so check
// that the mesh is all hex20 rather than its size.
assert!(s.model.elements().values().all(|e| e.kind == fieldcraft_model::ElementKind::Hex20));
assert!(c.is_conforming(), "{:?} {:?} {:?}", c.open_edges.first(), c.coincident.first(), c.midside_mismatches.first());
}