public static bool Test() { if (!StarMap.PointOnLineSegment(new Point(3, 4), new Point(1, 0), new Point(2, 2))) { return(false); } return(true); }