public void GetShift_should_calculate_vertical_shift_with_floats(VerticalAlignment alignment, float remaining, float result) { alignment.GetShift(remaining).ShouldBe(new SizeF(0, result)); }
public void GetShift_should_calculate_vertical_shift(VerticalAlignment alignment, int remaining, int result) { alignment.GetShift(remaining).ShouldBe(new Size(0, result)); }