mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-20 02:24:45 +00:00
fixing tests
This commit is contained in:
parent
4bcef8ce98
commit
404d083578
|
|
@ -24,7 +24,7 @@ class EntityTest extends Specification {
|
|||
val obj : EntityTestClass = new EntityTestClass()
|
||||
obj.Position mustEqual Vector3(0f, 0f, 0f)
|
||||
obj.Orientation mustEqual Vector3(0f, 0f, 0f)
|
||||
obj.Velocity mustEqual Vector3(0f, 0f, 0f)
|
||||
obj.Velocity mustEqual None
|
||||
}
|
||||
|
||||
"mutate and access" in {
|
||||
|
|
@ -35,7 +35,7 @@ class EntityTest extends Specification {
|
|||
|
||||
obj.Position mustEqual Vector3(1f, 1f, 1f)
|
||||
obj.Orientation mustEqual Vector3(2f, 2f, 2f)
|
||||
obj.Velocity mustEqual Vector3(3f, 3f, 3f)
|
||||
obj.Velocity mustEqual Some(Vector3(3f, 3f, 3f))
|
||||
}
|
||||
|
||||
"clamp Orientation" in {
|
||||
|
|
|
|||
Loading…
Reference in a new issue