Skip to content

Commit

Permalink
Fix tests of 'Fraction' struct constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jul 10, 2023
1 parent 9bd209c commit 72a7e2c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/fraction_tests/test_constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ def test_basic(numerator: BigInteger, denominator: BigInteger) -> None:
or (denominator % result.denominator).IsZero)


def test_no_argument() -> None:
result = Fractions.Fraction()

assert result == Fractions.Fraction(BigInteger.Zero, BigInteger.One)


@given(strategies.fractions)
def test_copy_constructor(fraction: Fractions.Fraction) -> None:
result = Fractions.Fraction(fraction)
Expand Down

0 comments on commit 72a7e2c

Please sign in to comment.