public void UTNeg_hit() { Instance_specification RO = new Instance_specification(); UTDraw(RO); Point p = new Point(7, 9); bool actual = RO.Hit_testing(p); bool expected = false; Assert.AreEqual(expected, actual); }
public void UTShift_Hit_neg() { Instance_specification RO = new Instance_specification(); UTDraw(RO); Point p = new Point(10, 10); RO.Shift(p); Point p1 = new Point(7, 9); bool actual = RO.Hit_testing(p1); bool expected = false; Assert.AreEqual(expected, actual); }