public void ItShouldCreateNegativeValue() { MoneyInt.RoundUp(-1).should_be_valid().Value.Should().Be(-1); }
public void ItShouldRoundUpValidValue() { MoneyInt.RoundUp(1.25m).should_be_valid().Value.Should().Be(2); }
public void ItShouldThrowExceptionWhenGivenValueIsTooBig() { MoneyInt.RoundUp(10m * 1000 * 1000 * 1000 * 1000).should_fail(); }