Vector3DTests ToStringAndFromString Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Datatypes
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ToStringAndFromString()
Examples

[Test]
public void ToStringAndFromString()
{
    var v = new Vector3D(2.23f, 3.45f, 0.59f);
    string vectorAsString = v.ToString();
    Assert.AreEqual(v, new Vector3D(vectorAsString));
}
See Also