blob: 2e3a781c31348fcf2f77153d1a326dbd06b94028 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//! Integration Tests for BSP dungeon generation
#[cfg(test)]
mod tests {
use dungeon::*;
#[test]
fn test_bsp_integration() {
let seed = 12345u64;
let (tiles, player_start) = bsp::generate(seed);
// Basic integration test: ensure we get valid data
assert!(!tiles.is_empty());
assert!(player_start.x() < map::MAP_SIZE);
assert!(player_start.y() < map::MAP_SIZE);
}
}
|