public void XCoordinateCanBeDecreased() { var coordinate = new Coordinate(); var newCoordinate = coordinate.AddX(-1); Assert.Equal(-1, newCoordinate.X); }
public void OldCoordinateRemainsUnaffectedAfterChange() { var coordinate = new Coordinate(); coordinate.AddX(1); Assert.Equal(0, coordinate.X); Assert.Equal(0, coordinate.Y); }