Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fluentpython/example-code-2e
/ test_factorial
Function
test_factorial
02-array-seq/lispy/py3.10/examples_test.py:142–145 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
140
(! 42)
141
""
"
142
def
test_factorial():
143
got = run(fact_src)
144
assert got == 1405006117752879898543142606244511569936384000000000
145
assert got == math.factorial(42)
146
147
148
gcd_src =
""
"
Callers
nothing calls this directly
Calls
1
run
Function · 0.90
Tested by
no test coverage detected