Improve test
This commit is contained in:
parent
83d0780954
commit
d4223be8b4
@ -361,7 +361,7 @@ impl BoatsLayout {
|
||||
mod test {
|
||||
use crate::data::boats_layout::{BoatDirection, BoatPosition, BoatsLayout, Coordinates};
|
||||
use crate::data::game_map::GameMap;
|
||||
use crate::data::{BotType, GameRules, PlayConfiguration, PrintableMap};
|
||||
use crate::data::*;
|
||||
|
||||
#[test]
|
||||
fn dist_coordinates_eq() {
|
||||
@ -488,9 +488,7 @@ mod test {
|
||||
map_height: 5,
|
||||
boats_str: "1,1".to_string(),
|
||||
boats_can_touch: false,
|
||||
player_continue_on_hit: false,
|
||||
strike_timeout: None,
|
||||
bot_type: BotType::Random,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let mut boats = BoatsLayout(vec![
|
||||
|
Loading…
Reference in New Issue
Block a user