public void testGetConst() { Line test = new Line(new Point(10, 10), new Point(15, 20)); Assert.AreEqual(-10, test.getConstant(), "the constant is correct"); }
public void testGetSlope() { Line test = new Line(new Point(10, 10), new Point(15, 20)); Assert.AreEqual(2, test.getSlope(), "the slope is correct"); }