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

Method test_numerator_as_long

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

Source from the content-addressed store, hash-verified

3186 assert d.as_long() == 3
3187
3188 def test_numerator_as_long(self):
3189 r = RatVal(7, 11)
3190 assert r.numerator_as_long() == 7
3191
3192 def test_denominator_as_long(self):
3193 r = RatVal(7, 11)

Callers

nothing calls this directly

Calls 2

RatValFunction · 0.90
numerator_as_longMethod · 0.80

Tested by

no test coverage detected