Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LabPy/lantz
/ main
Function
main
lantz/simulators/voltmeter.py:64–70 ·
view source on GitHub ↗
(args=None)
Source
from the content-addressed store, hash-verified
62
63
64
def
main(args=None):
65
66
import
random
67
def
measure():
68
return
random.random() * 10 - 5
69
70
return
main_generic(args, SimVoltmeter, (measure, measure))
71
72
73
from
.
import
SIMULATORS
Callers
1
voltmeter.py
File · 0.70
Calls
1
main_generic
Function · 0.85
Tested by
no test coverage detected