Fix tests
This commit is contained in:
parent
2f06f9b0b7
commit
3b1db890b7
1 changed files with 4 additions and 4 deletions
|
|
@ -141,8 +141,8 @@ mod test {
|
|||
vec![(Position { x: 0, y: 0 }, Box::new(NullAgent))],
|
||||
);
|
||||
world.do_step();
|
||||
assert_eq!(world.tagged, 0);
|
||||
assert_eq!(world.tagged_by, None);
|
||||
assert_eq!(world.state.tagged, 0);
|
||||
assert_eq!(world.state.tagged_by, None);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -161,8 +161,8 @@ mod test {
|
|||
],
|
||||
);
|
||||
world.do_step();
|
||||
assert_eq!(world.tagged, 0);
|
||||
assert_eq!(world.tagged_by, Some(1));
|
||||
assert_eq!(world.state.tagged, 0);
|
||||
assert_eq!(world.state.tagged_by, Some(1));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue