ludic.wildlife (18.3): wildlife_listed - still one of this state's animals, so a crowd lets go of one a load or a clear removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9ec1b3a9bf
commit
95f2087148
4 changed files with 10 additions and 3 deletions
|
|
@ -79,5 +79,8 @@ program WildCrowdTest {
|
|||
let out = new []WildAnimal
|
||||
expect_eq(wildlife_near(wildlife_st, 0.0, -4.0, 1.0, out), 1)
|
||||
expect_eq(wildlife_near(wildlife_st, 0.0, 0.0, 1.0, out), 0)
|
||||
expect(wildlife_listed(wildlife_st, a))
|
||||
wildlife_clear(wildlife_st)
|
||||
expect(not wildlife_listed(wildlife_st, a))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue