Exemple #1
0
 public void TestNormalizing()
 {
     Scientrace.NonzeroVector v1 = new Scientrace.NonzeroVector(1, 2, 3);
     Scientrace.NonzeroVector v2 = v1.copy().tryToNonzeroVector();
     v2.normalize();
     Assert.AreEqual(v1.normalized(), v2);
 }