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:
@@ -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(), ¶ms, &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]
|
||||
|
||||
Reference in New Issue
Block a user