Namespace: DeltaEngine.Physics3D.Tests
Assembly: DeltaEngine.Physics3D.Tests (in DeltaEngine.Physics3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Physics3D.Tests (in DeltaEngine.Physics3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void VerifyAssignedValues() { var physicalObject = new PhysicalEntity3D(Vector3D.Zero, Quaternion.Identity, 10.0f, 0.5f); AdvanceTimeAndUpdateEntities(1.0f); Assert.AreEqual(10.0f, physicalObject.Mass); Assert.AreEqual(0.5f, physicalObject.LifeTime); Assert.IsFalse(physicalObject.IsActive); }
See Also