public void TestAngleWith1() { Scientrace.Vector v1, v2; v1 = new Scientrace.Vector(1, 1, 1); v2 = new Scientrace.Vector(-1, -1, -1); Assert.AreEqual(Math.PI, v1.angleWith(v2)); }
public void TestZeroAngleWith() { Scientrace.Vector v1, v2; v1 = new Scientrace.Vector(1, 1, 1); v2 = new Scientrace.Vector(1, 1, 1); Assert.AreEqual(0, v1.angleWith(v2)); }