output number of trade partners

This commit is contained in:
Christof Petig 2022-03-31 00:08:28 +02:00
parent eedfce45bc
commit d897df4b78

View File

@ -407,7 +407,7 @@ mod tests {
}
}
println!();
print!(" Trade: ");
print!(" Trade({}): ", site.economy.neighbors.len());
for (g, &amt) in site.economy.active_exports.iter() {
if amt < -0.1 || amt > 0.1 {
print!("{:?}={:.2} ", g, amt);