public void Simple() { var vector = new Vector3D(1, -4, 3); Assert.AreEqual(4, vector.AbsoluteMaximum()); Assert.AreEqual(1, vector.X); Assert.AreEqual(-4, vector.Y); Assert.AreEqual(3, vector.Z); }
public void AbsoluteMaximumExample() { var vector = new Vector3D(1, -4, 3); Assert.AreEqual(4, vector.AbsoluteMaximum()); }