Start SPHLite 0.2.1 hardening

This commit is contained in:
Codex
2026-07-02 22:33:21 +08:00
parent 4716eb0151
commit 000209cc7d
12 changed files with 1022 additions and 428 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ def main() -> int:
version = run_command([exe, "--version"])
require_field(version.stdout, "version")
if "0.2.0" not in version.stdout:
if "0.2.1" not in version.stdout:
raise AssertionError("CLI version mismatch")
inspect = run_command([exe, model])
+2
View File
@@ -19,6 +19,8 @@ def main() -> int:
solver = SPHLite(args.library)
if PHASE_SOLID != 4 or STATUS_ACTIVE != 0:
raise AssertionError("Python constants are not locked")
if solver.version() != (0, 2, 1):
raise AssertionError("Python version mismatch")
solver.initialize()
try: