diff options
Diffstat (limited to 'CLI/rust/src/game_of_life/simulation')
| -rw-r--r-- | CLI/rust/src/game_of_life/simulation/universe.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CLI/rust/src/game_of_life/simulation/universe.rs b/CLI/rust/src/game_of_life/simulation/universe.rs index 6059dc6..c222981 100644 --- a/CLI/rust/src/game_of_life/simulation/universe.rs +++ b/CLI/rust/src/game_of_life/simulation/universe.rs @@ -74,9 +74,11 @@ mod display { }; let universe = universe(opts); - assert_eq!(universe.to_string(), ".....\n.XXX.\n.....\nInput: http://example.com") + assert_eq!( + universe.to_string(), + ".....\n.XXX.\n.....\nInput: http://example.com" + ) } - } impl Index<isize> for Universe { |
