Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 public void GetShift_should_calculate_vertical_shift(VerticalAlignment alignment, int remaining, int result)
 {
     alignment.GetShift(remaining).ShouldBe(new Size(0, result));
 }