diff --git a/src/map.rs b/src/map.rs index e89fc63..c0c6f3c 100644 --- a/src/map.rs +++ b/src/map.rs @@ -335,4 +335,18 @@ mod tests { assert_eq!(map.tiles, expected_map.tiles); } + + + #[test] + fn test_available_exists() { + let map_str = " + ######### + # # # + ########## + "; + let map = Map::from_string(map_str); + let exists = map.get_available_exits(0, 0); + + assert_eq!(exists.len(), 0); + } } \ No newline at end of file