public void AddToY_WorksWithNegatives() { testCoordinate = new Coordinate(1, 1); testCoordinate.AddToY(-3); Assert.AreEqual(-2, testCoordinate.Y); }
public void AddToY_WorksWithPositiveNumber() { testCoordinate = new Coordinate(1, 1); testCoordinate.AddToY(1); Assert.AreEqual(2, testCoordinate.Y); }