public void Simple() { var vector = new Vector3D(2, 3, 5); Assert.AreEqual(10, vector.Sum()); Assert.AreEqual(2, vector.X); Assert.AreEqual(3, vector.Y); Assert.AreEqual(5, vector.Z); }
public void SumExample() { var vector = new Vector3D(2, 3, 5); Assert.AreEqual(10, vector.Sum()); }