Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Oct 4, 2023
1 parent 0438dc6 commit a0ad26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions simulation/src/economy/market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,10 @@ fn calculate_prices(
mod tests {
use super::Market;
use crate::economy::{ItemRegistry, WORKER_CONSUMPTION_PER_SECOND};
use crate::souls::goods_company::{CompanyKind, GoodsCompanyDescription, Recipe};
use crate::souls::goods_company::{GoodsCompanyDescription, Recipe};
use crate::world::CompanyID;
use crate::{map::BuildingGen, GoodsCompanyRegistry, SoulID};
use crate::{GoodsCompanyRegistry, SoulID};
use common::descriptions::{BuildingGen, CompanyKind};
use geom::{vec2, Vec2};

fn mk_ent(id: u64) -> CompanyID {
Expand Down
2 changes: 1 addition & 1 deletion simulation/src/souls/freight_station.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ pub fn freight_station_system(world: &mut World, resources: &mut Resources) {

#[cfg(test)]
mod tests {
use crate::map::BuildingGen;
use crate::map_dynamic::BuildingInfos;
use crate::souls::human::{spawn_human, HumanDecisionKind};
use crate::tests::TestCtx;
use crate::{BuildingKind, SoulID, WorldCommand};
use common::descriptions::BuildingGen;
use geom::{vec2, vec3, OBB};

#[test]
Expand Down

0 comments on commit a0ad26d

Please sign in to comment.