mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 04:30:21 +00:00
hopefully more generous timing for the tests
This commit is contained in:
parent
8c7417aabf
commit
d26e8834c6
2 changed files with 39 additions and 35 deletions
|
|
@ -476,6 +476,7 @@ class ZoneGroundDropItemTest extends ActorTest {
|
|||
|
||||
"DropItem" should {
|
||||
"drop item on ground" in {
|
||||
expectNoMsg(100 milliseconds)
|
||||
assert(!zone.EquipmentOnGround.contains(item))
|
||||
zone.Ground ! Zone.Ground.DropItem(item, Vector3(1.1f, 2.2f, 3.3f), Vector3(4.4f, 5.5f, 6.6f))
|
||||
|
||||
|
|
@ -500,6 +501,7 @@ class ZoneGroundCanNotDropItem1Test extends ActorTest {
|
|||
|
||||
"DropItem" should {
|
||||
"not drop an item that is not registered" in {
|
||||
expectNoMsg(100 milliseconds)
|
||||
assert(!zone.EquipmentOnGround.contains(item))
|
||||
zone.Ground ! Zone.Ground.DropItem(item, Vector3.Zero, Vector3.Zero)
|
||||
|
||||
|
|
@ -524,6 +526,7 @@ class ZoneGroundCanNotDropItem2Test extends ActorTest {
|
|||
|
||||
"DropItem" should {
|
||||
"not drop an item that is not registered to the zone" in {
|
||||
expectNoMsg(100 milliseconds)
|
||||
assert(!zone.EquipmentOnGround.contains(item))
|
||||
zone.Ground ! Zone.Ground.DropItem(item, Vector3.Zero, Vector3.Zero)
|
||||
|
||||
|
|
@ -548,6 +551,7 @@ class ZoneGroundCanNotDropItem3Test extends ActorTest {
|
|||
|
||||
"DropItem" should {
|
||||
"not drop an item that has already been dropped" in {
|
||||
expectNoMsg(100 milliseconds)
|
||||
assert(!zone.EquipmentOnGround.contains(item))
|
||||
assert(zone.EquipmentOnGround.isEmpty)
|
||||
zone.Ground ! Zone.Ground.DropItem(item, Vector3.Zero, Vector3.Zero)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue