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

Method test_is_fp_value

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

Source from the content-addressed store, hash-verified

4243 assert not is_fprm(Int("x"))
4244
4245 def test_is_fp_value(self):
4246 assert is_fp_value(FPVal(1.0))
4247 assert not is_fp_value(FP("x", Float32()))
4248
4249 def test_is_seq(self):
4250 assert is_seq(String("s"))

Callers

nothing calls this directly

Calls 4

is_fp_valueFunction · 0.90
FPValFunction · 0.90
FPFunction · 0.90
Float32Function · 0.90

Tested by

no test coverage detected