mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 03:15:48 -06:00
13 lines
246 B
Rust
13 lines
246 B
Rust
use pacman::constants::RAW_BOARD;
|
|
use pacman::map::builder::Map;
|
|
|
|
mod item;
|
|
|
|
#[test]
|
|
fn test_game_map_creation() {
|
|
let map = Map::new(RAW_BOARD).unwrap();
|
|
|
|
assert!(map.graph.node_count() > 0);
|
|
assert!(!map.grid_to_node.is_empty());
|
|
}
|