mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
adapt unit test
This commit is contained in:
parent
acba98366a
commit
aa6a75808f
@ -359,10 +359,10 @@ mod tests {
|
||||
info!("init");
|
||||
|
||||
TradePricing::instance().print_sorted();
|
||||
info!("Armor 5 {}", TradePricing::random_item(Good::Armor, 5.0));
|
||||
info!("Armor 5 {}", TradePricing::random_item(Good::Armor, 5.0));
|
||||
info!("Armor 5 {}", TradePricing::random_item(Good::Armor, 5.0));
|
||||
info!("Armor 5 {}", TradePricing::random_item(Good::Armor, 5.0));
|
||||
info!("Armor 5 {}", TradePricing::random_item(Good::Armor, 5.0));
|
||||
for _ in 0..5 {
|
||||
if let Some(item_id) = TradePricing::random_item(Good::Armor, 5.0) {
|
||||
info!("Armor 5 {}", item_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user