MCPcopy Create free account
hub / github.com/1jehuang/jcode / check

Function check

scripts/test_memory.py:69–76  ·  view source on GitHub ↗
(condition, msg)

Source from the content-addressed store, hash-verified

67 results = {"passed": 0, "failed": 0}
68
69 def check(condition, msg):
70 if condition:
71 log_pass(msg)
72 results["passed"] += 1
73 else:
74 log_fail(msg)
75 results["failed"] += 1
76 return condition
77
78 for provider in providers:
79 log_section(f"Testing with {provider.upper()}")

Callers 3

run_testsFunction · 0.70
build_auth_status_reportFunction · 0.50
build_auth_doctor_reportFunction · 0.50

Calls 2

log_passFunction · 0.85
log_failFunction · 0.85

Tested by

no test coverage detected