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

Method test_binop_num_args

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

Source from the content-addressed store, hash-verified

2838 """Test ExprRef.arg(), .num_args(), .children(), .decl(), .sexpr(), .params()."""
2839
2840 def test_binop_num_args(self):
2841 x, y = Ints("x y")
2842 e = x + y
2843 assert e.num_args() == 2
2844
2845 def test_binop_arg(self):
2846 x, y = Ints("x y")

Callers

nothing calls this directly

Calls 2

IntsFunction · 0.90
num_argsMethod · 0.45

Tested by

no test coverage detected