display trade volume

This commit is contained in:
Christof Petig 2022-03-30 23:38:08 +02:00
parent 57dafea9b4
commit b144ed42e3

View File

@ -635,6 +635,13 @@ mod tests {
}
}
println!();
print!(" Trade: ");
for (g, &amt) in site.economy.active_exports.iter() {
if amt < -0.1 || amt > 0.1 {
print!("{:?}={:.2} ", g, amt);
}
}
println!();
// check population (shrinks if economy gets broken)
// assert!(site.economy.pop >= env.targets[&id]);
}