public void GetAngleBetweenVectorsTest( int sx, int sy, int ex1, int ey1, int ex2, int ey2, float expectedAngle ) { IntPoint startPoint = new IntPoint( sx, sy ); IntPoint vector1end = new IntPoint( ex1, ey1 ); IntPoint vector2end = new IntPoint( ex2, ey2 ); float angle = GeometryTools.GetAngleBetweenVectors( startPoint, vector1end, vector2end ); Assert.AreEqual( expectedAngle, angle, 0.00001f ); }