public void ToStringTest() { CollisionDomain cd = new CollisionDomain(new CollisionDetection()); cd.CollisionObjects.Add(new CollisionObject()); cd.CollisionObjects.Add(new CollisionObject()); Assert.AreEqual("CollisionDomain { Count = 2 }", cd.ToString()); }
public void ToStringTest() { CollisionDomain cd = new CollisionDomain(new CollisionDetection()); cd.CollisionObjects.Add(new CollisionObject()); cd.CollisionObjects.Add(new CollisionObject()); Assert.AreEqual("CollisionDomain { Count = 2 }", cd.ToString()); }