MCPcopy Index your code
hub / github.com/FSoft-AI4Code/CodeWiki / check

Function check

tests/smoke_test_mcp.py:30–37  ·  view source on GitHub ↗
(name: str, condition: bool, detail: str = "")

Source from the content-addressed store, hash-verified

28
29
30def check(name: str, condition: bool, detail: str = ""):
31 global _passed, _failed
32 if condition:
33 _passed += 1
34 print(f" PASS: {name}")
35 else:
36 _failed += 1
37 print(f" FAIL: {name} — {detail}")
38
39
40def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected