public void TestTeciprocalMethodFalse() { TPoint point = new TPoint(0, 40); bool expectedexBool = point.reciprocal(); Assert.IsFalse(expectedexBool); }
public void TestTeciprocalMethodTrue() { TPoint point = new TPoint(0.25, 40); bool expectedexBool = point.reciprocal(); Assert.IsTrue(expectedexBool); Assert.AreEqual(4, point.X); Assert.AreEqual(0.025, point.Y); }