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