From 404d083578294a29290294441b322c527d44bf03 Mon Sep 17 00:00:00 2001 From: FateJH Date: Tue, 15 Aug 2017 23:29:10 -0400 Subject: [PATCH] fixing tests --- common/src/test/scala/objects/EntityTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/test/scala/objects/EntityTest.scala b/common/src/test/scala/objects/EntityTest.scala index 68cac3ee..fa0976fe 100644 --- a/common/src/test/scala/objects/EntityTest.scala +++ b/common/src/test/scala/objects/EntityTest.scala @@ -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 {