mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 14:07:57 -06:00
refactor: optimize debug system, remove redundant code & tests
This commit is contained in:
@@ -6,7 +6,7 @@ use pacman::map::builder::Map;
|
||||
fn test_map_creation() {
|
||||
let map = Map::new(RAW_BOARD).unwrap();
|
||||
|
||||
assert!(map.graph.node_count() > 0);
|
||||
assert!(map.graph.nodes().count() > 0);
|
||||
assert!(!map.grid_to_node.is_empty());
|
||||
|
||||
// Check that some connections were made
|
||||
|
||||
Reference in New Issue
Block a user