public void ReturnEmptyPointIfLastColorNotFound() { Img = new Bitmap(10, 10); Point actual = ColorFinder.FindLastColorLocation(Img, Color.Red); Assert.That(actual.IsEmpty); }
public void ReturnsTheLastPixelLocationOfTheColor() { Point expected = new Point(2558, 332); Img = new Bitmap(Images.PointsFullImage); Point actual = ColorFinder.FindLastColorLocation(Img, NMZColors.Border); Assert.AreEqual(expected, actual); }