public void Simple() { var vector = new Vector3D(8, 3, 6); var actual = vector.ToArray(); Assert.AreEqual(3, actual.Length); Assert.AreEqual(8, actual[0]); Assert.AreEqual(3, actual[1]); Assert.AreEqual(6, actual[2]); }
public void ToArrayExample() { var vector = new Vector3D(8, 3, 6); var actual = vector.ToArray(); Assert.AreEqual(3, actual.Length); }