Example #1
0
def test_round_down_money_on_half() -> None:
    """Return rounded down two decimals second case."""
    assert cei.round_down_money(5.555) == 5.55
Example #2
0
def test_round_down_money_one_digit() -> None:
    """Return rounded down two decimals third case."""
    assert cei.round_down_money(8.5) == 8.50
Example #3
0
def test_round_down_money_more_than_half() -> None:
    """Return rounded down two decimals."""
    assert cei.round_down_money(5.999) == 5.99