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

Method test_fp_comparison_overloads

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

Source from the content-addressed store, hash-verified

3982 assert isinstance(abs(x), FPRef)
3983
3984 def test_fp_comparison_overloads(self):
3985 x, y = FPs("x y", Float32())
3986 assert isinstance(x < y, BoolRef)
3987 assert isinstance(x <= y, BoolRef)
3988 assert isinstance(x > y, BoolRef)
3989 assert isinstance(x >= y, BoolRef)
3990
3991 def test_fp_sort_method(self):
3992 x = FP("x", Float32())

Callers

nothing calls this directly

Calls 2

FPsFunction · 0.90
Float32Function · 0.90

Tested by

no test coverage detected