Namespace: DeltaEngine.Tests.Datatypes
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 ResultOfToStringCanConvertBackVector3D() { var rangeVector3D = new Range<Vector3D>(Vector3D.Zero, Vector3D.UnitX); var converted3D = rangeVector3D.ToString(); var rangeRetrieved3D = new Range<Vector3D>(converted3D); Assert.AreEqual("({0, 0, 0},{1, 0, 0})", converted3D); Assert.AreEqual(rangeVector3D.Start, rangeRetrieved3D.Start); Assert.AreEqual(rangeVector3D.End, rangeRetrieved3D.End); }
See Also