예제 #1
0
 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);
 }
예제 #2
0
 public void AbsoluteMaximumExample()
 {
     var vector = new Vector3D(1, -4, 3);
     Assert.AreEqual(4, vector.AbsoluteMaximum());
 }