public void Then_returns_X_and_Y_as_number_divided_by_2(int number, int expectedX, int expectedY) { var split = Gillian.Split(number); split.ShouldSplitTo(expectedX, expectedY); }
public void Then_returns_X_and_Y_as_number_divided_by_2() { var split = Gillian.Split(12); split.ShouldSplitTo(6, 6); }
public void Then_does_not_split() { Assert.That(() => Gillian.Split(1), Throws.TypeOf <ArgumentException>()); }
public void Then_returns_X_as_1_and_Y_as_remainder(int number, int expectedX, int expectedY) { var split = Gillian.Split(number); split.ShouldSplitTo(expectedX, expectedY); }
public void Then_returns_X_as_one_third_of_number_and_Y_as_remainder(int number, int expectedX, int expectedY) { var split = Gillian.Split(9); split.ShouldSplitTo(3, 6); }