public void OriginIsAlwaysNullVector() { Assert.IsTrue(R1_origin.IsNull()); Assert.IsTrue(R2_origin.IsNull()); Assert.IsTrue(R3_origin.IsNull()); Assert.IsTrue(R100_origin.IsNull()); }
public void LengthOfZeroVectorIsZero() { Assert.AreEqual(0, R1_origin.GetLength()); Assert.AreEqual(0, R2_origin.GetLength()); Assert.AreEqual(0, R3_origin.GetLength()); Assert.AreEqual(0, R100_origin.GetLength()); }
public void NormalizedZeroVectorIsStillZeroVector() { R1_origin.Normalize(); R2_origin.Normalize(); R3_origin.Normalize(); R100_origin.Normalize(); Assert.IsTrue(R1_origin.IsNull()); Assert.IsTrue(R2_origin.IsNull()); Assert.IsTrue(R3_origin.IsNull()); Assert.IsTrue(R100_origin.IsNull()); }