MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_denominator_as_long

Method test_denominator_as_long

tests/test_z3_ported.py:3192–3194  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3190 assert r.numerator_as_long() == 7
3191
3192 def test_denominator_as_long(self):
3193 r = RatVal(7, 11)
3194 assert r.denominator_as_long() == 11
3195
3196 def test_as_fraction(self):
3197 from fractions import Fraction

Callers

nothing calls this directly

Calls 2

RatValFunction · 0.90
denominator_as_longMethod · 0.80

Tested by

no test coverage detected