test adjustment
This commit is contained in:
parent
717be3a32f
commit
ed8a048a22
|
@ -206,7 +206,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_start_traveling() {
|
||||
let mut person = Creature::new(Time { time: 0 }, Location{x: 0, y: 0}, Profession::Peasant);
|
||||
let mut person = Creature::new(Time { time: 0 }, Location{x: 0, y: 0}, Profession::Adventurer);
|
||||
person.agenda = Agenda::Idle(0);
|
||||
let mut world = World::new(32);
|
||||
world.add_site(Site{
|
||||
|
|
|
@ -70,7 +70,8 @@ mod tests {
|
|||
|
||||
let mut creature = Creature::new(
|
||||
Time { time: 0 },
|
||||
Location { x: 0, y: 0 }
|
||||
Location { x: 0, y: 0 },
|
||||
crate::creature::Profession::Adventurer,
|
||||
);
|
||||
creature.set_agenda(Agenda::Traveling(Location { x: 2, y: 2 }));
|
||||
state.add_person(creature);
|
||||
|
|
Loading…
Reference in New Issue