style: rustfmt the Phase 1 test additions
The per-file Phase 1 test commits were written without running rustfmt as I went; this pass formats the new test code (long assert_eq! lines wrapped, etc.). Formatting-only — no behavioural change.
This commit is contained in:
@@ -591,6 +591,9 @@ mod tests {
|
||||
fn smallest_neighbor_angle_of_orthogonal_refs_is_pi_over_2() {
|
||||
let refs = vec![vec![1.0, 0.0], vec![0.0, 1.0]];
|
||||
let a = smallest_neighbor_angle(&refs);
|
||||
assert!((a - std::f64::consts::FRAC_PI_2).abs() < 1e-9, "angle = {a}");
|
||||
assert!(
|
||||
(a - std::f64::consts::FRAC_PI_2).abs() < 1e-9,
|
||||
"angle = {a}"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user