MCPcopy Create free account
hub / github.com/Tong89/smartNode / _make_engine

Function _make_engine

tests/test_snapshot.py:29–32  ·  view source on GitHub ↗

创建一个固定种子、不启动后台线程的引擎。

()

Source from the content-addressed store, hash-verified

27# ─────────────────────────────────────────────────────────────────────────────
28
29def _make_engine():
30 """创建一个固定种子、不启动后台线程的引擎。"""
31 TransmissionRequest._id_counter = 0
32 return create_engine(seed=1, autostart=False)
33
34
35def _advance(engine, delta: float = 100.0):

Calls 1

create_engineFunction · 0.90

Tested by

no test coverage detected