style(simulation): cargo fmt on the T-1174 batch (gate bounce)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-25 01:16:43 +02:00
co-authored by Claude Fable 5
parent 630d735d13
commit 9068fcbc0b
6 changed files with 41 additions and 32 deletions
+6 -5
View File
@@ -2240,10 +2240,7 @@ mod tests {
None,
);
assert_eq!(
districts[&cell_east].basin_direction,
BasinDirection::East
);
assert_eq!(districts[&cell_east].basin_direction, BasinDirection::East);
assert_eq!(
districts[&cell_south].basin_direction,
BasinDirection::South
@@ -3147,7 +3144,11 @@ mod tests {
let districts = derive_all_districts(test_seed(), &params, &ta, 8, "test_body", None, None);
// BTreeMap iterates in sorted key order — verify the first key is (0,0).
let first = districts.keys().next().expect("at least one district");
assert_eq!(*first, SurveyCellPos(0, 0), "first district must be at origin");
assert_eq!(
*first,
SurveyCellPos(0, 0),
"first district must be at origin"
);
}
#[test]