MCPcopy
hub / github.com/exaloop/codon / equal

Function equal

test/python/pyext.py:4–9  ·  view source on GitHub ↗
(v, a, b, tag)

Source from the content-addressed store, hash-verified

2import myext2 as m2
3
4def equal(v, a, b, tag):
5 ok = (v.a == a and v.b == b and v.tag == tag)
6 if not ok:
7 print('GOT:', v.a, v.b, v.tag)
8 print('EXP:', a, b, tag)
9 return ok
10
11saw_fun = False
12saw_set = False

Callers 1

test_codon_extensionsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_codon_extensionsFunction · 0.68