style(simulation): cargo fmt — test fixture tuple layout
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1178,9 +1178,24 @@ mod tests {
|
|||||||
// path as any other city) — indistinguishable in shape from the
|
// path as any other city) — indistinguishable in shape from the
|
||||||
// ordinary pooled cities "Tributarium"/"Ruhr" it sits alongside.
|
// ordinary pooled cities "Tributarium"/"Ruhr" it sits alongside.
|
||||||
let db = make_settlements_db(&[
|
let db = make_settlements_db(&[
|
||||||
("Tributarium", "manufacturing", 2_727_273_224, Some("PopulationBudget")),
|
(
|
||||||
("Ruhr", "manufacturing", 1_363_636_611, Some("PopulationBudget")),
|
"Tributarium",
|
||||||
("Gate Corporation", "manufacturing", 909_090_165, Some("NameLocked")),
|
"manufacturing",
|
||||||
|
2_727_273_224,
|
||||||
|
Some("PopulationBudget"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"Ruhr",
|
||||||
|
"manufacturing",
|
||||||
|
1_363_636_611,
|
||||||
|
Some("PopulationBudget"),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"Gate Corporation",
|
||||||
|
"manufacturing",
|
||||||
|
909_090_165,
|
||||||
|
Some("NameLocked"),
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
let reader = CityContextReader::open(&db).expect("open");
|
let reader = CityContextReader::open(&db).expect("open");
|
||||||
let cities = reader.read_body_settlements("PlanetX").expect("read");
|
let cities = reader.read_body_settlements("PlanetX").expect("read");
|
||||||
|
|||||||
Reference in New Issue
Block a user