(self)
| 3194 | assert r.denominator_as_long() == 11 |
| 3195 | |
| 3196 | def test_as_fraction(self): |
| 3197 | from fractions import Fraction |
| 3198 | |
| 3199 | r = RatVal(1, 3) |
| 3200 | f = r.as_fraction() |
| 3201 | assert f == Fraction(1, 3) |
| 3202 | |
| 3203 | def test_as_string(self): |
| 3204 | r = RatVal(1, 3) |
nothing calls this directly
no test coverage detected