feat: Add watering (#27)
This commit is contained in:
@@ -91,8 +91,9 @@ fn test_find_path_simple() {
|
||||
fn test_find_path_around_obstacle() {
|
||||
let obstacle: TileState = TileState::Occupied {
|
||||
seed: ItemType::BerrySeed {
|
||||
name: "test".into(),
|
||||
name: "Test".into(),
|
||||
},
|
||||
watered: false,
|
||||
};
|
||||
let obstacles = vec![
|
||||
(2, 2, obstacle.clone()),
|
||||
@@ -142,8 +143,9 @@ fn test_find_path_around_obstacle() {
|
||||
fn test_find_path_no_path() {
|
||||
let obstacle: TileState = TileState::Occupied {
|
||||
seed: ItemType::BerrySeed {
|
||||
name: "test".into(),
|
||||
name: "Test".into(),
|
||||
},
|
||||
watered: false,
|
||||
};
|
||||
let obstacles = vec![
|
||||
(2, 0, obstacle.clone()),
|
||||
|
||||
Reference in New Issue
Block a user