Some minor updates to the heatmap stuff
This commit is contained in:
@@ -9,11 +9,9 @@ fn heatmap_nuke() {
|
||||
let input_bytes = std::fs::read(path).unwrap();
|
||||
|
||||
let config = heatmap::Config { cell_size: 5.0 };
|
||||
let (result, players) = heatmap::parse(&config, &input_bytes).unwrap();
|
||||
let result = heatmap::parse(&config, &input_bytes).unwrap();
|
||||
|
||||
assert_eq!(result.len(), players.len());
|
||||
|
||||
todo!()
|
||||
assert_eq!(result.player_heatmaps.len(), result.player_info.len());
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -24,9 +22,7 @@ fn heatmap_inferno() {
|
||||
let input_bytes = std::fs::read(path).unwrap();
|
||||
|
||||
let config = heatmap::Config { cell_size: 5.0 };
|
||||
let (result, players) = heatmap::parse(&config, &input_bytes).unwrap();
|
||||
let result = heatmap::parse(&config, &input_bytes).unwrap();
|
||||
|
||||
assert_eq!(result.len(), players.len());
|
||||
|
||||
todo!()
|
||||
assert_eq!(result.player_heatmaps.len(), result.player_info.len(), "Players: {:?}", result.player_heatmaps.keys().collect::<Vec<_>>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user