public void Protected_IsPointInLine() { XYPoint point = new XYPoint(); Assert.AreEqual(true, AXYGeometryTools.AIsPointInLine(new XYPoint(0, 0), new XYLine(0, 0, 1, 1)), "Test1"); Assert.AreEqual(true, AXYGeometryTools.AIsPointInLine(new XYPoint(0.5, 0.5), new XYLine(0, 0, 1, 1)), "Test2"); Assert.AreEqual(true, AXYGeometryTools.AIsPointInLine(new XYPoint(1, 1), new XYLine(0, 0, 1, 1)), "Test3"); Assert.AreEqual(false, AXYGeometryTools.AIsPointInLine(new XYPoint(0.5, 0), new XYLine(0, 0, 1, 1)), "Test4"); }