fixing tests

This commit is contained in:
FateJH 2017-08-15 23:29:10 -04:00
parent 4bcef8ce98
commit 404d083578

View file

@ -24,7 +24,7 @@ class EntityTest extends Specification {
val obj : EntityTestClass = new EntityTestClass() val obj : EntityTestClass = new EntityTestClass()
obj.Position mustEqual Vector3(0f, 0f, 0f) obj.Position mustEqual Vector3(0f, 0f, 0f)
obj.Orientation 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 { "mutate and access" in {
@ -35,7 +35,7 @@ class EntityTest extends Specification {
obj.Position mustEqual Vector3(1f, 1f, 1f) obj.Position mustEqual Vector3(1f, 1f, 1f)
obj.Orientation mustEqual Vector3(2f, 2f, 2f) 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 { "clamp Orientation" in {