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 ResultOfToStringCanConvertBackVector2D() { var rangeVector2D = new Range<Vector2D>(Vector2D.One, Vector2D.ScreenRight); var converted2D = rangeVector2D.ToString(); var rangeRetrieved2D = new Range<Vector2D>(converted2D); Assert.AreEqual("({1, 1},{1, 0})", converted2D); Assert.AreEqual(rangeVector2D.Start, rangeRetrieved2D.Start); Assert.AreEqual(rangeVector2D.End, rangeRetrieved2D.End); }
See Also