Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void ToStringWithArrayAndBehavior() { entityWithTags.Add(new Vector2D[2]); Assert.AreEqual("MockEntity Tags=Tag1, Tag2: Vector2D[]", entityWithTags.ToString()); var entityWithRunner = new MockEntity().Start<MockUpdateBehavior>().Start<ComponentTests.Rotate>(); Assert.AreEqual("MockEntity [MockUpdateBehavior, Rotate]", entityWithRunner.ToString()); }
See Also