diff options
Diffstat (limited to 'src/world.rs')
-rw-r--r-- | src/world.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.rs b/src/world.rs index 96c928d..369fd59 100644 --- a/src/world.rs +++ b/src/world.rs @@ -471,16 +471,16 @@ mod tests { let exp_horz = vec![ Corridor::new((0, 0), 5, CorridorType::Horizontal), - Corridor::new((5, 0), 5, CorridorType::Vertical) + Corridor::new((5, 0), 5, CorridorType::Vertical), ]; let exp_vert = vec![ Corridor::new((0, 0), 5, CorridorType::Vertical), - Corridor::new((0, 5), 5, CorridorType::Horizontal) + Corridor::new((0, 5), 5, CorridorType::Horizontal), ]; match cor[0].direction { CorridorType::Horizontal => assert_eq!(cor, exp_horz), - CorridorType::Vertical => assert_eq!(cor, exp_vert) + CorridorType::Vertical => assert_eq!(cor, exp_vert), }; } |