feat(v2): add fall event regression engine

This commit is contained in:
ila
2026-07-22 16:18:16 +08:00
parent 258fa49259
commit 1298369054
22 changed files with 1214 additions and 92 deletions
+10
View File
@@ -14,3 +14,13 @@ func TestRunPoseRejectsWrongInputLengthBeforeLoadingRuntime(t *testing.T) {
t.Fatalf("RunPose error = %q, want input length error", err)
}
}
func TestOpenRuntimeReportsMissingDLL(t *testing.T) {
_, err := OpenRuntime("missing.onnx", "missing.dll")
if err == nil {
t.Fatal("OpenRuntime accepted a missing ONNX Runtime DLL")
}
if !strings.Contains(err.Error(), "initialize ONNX Runtime") {
t.Fatalf("OpenRuntime error = %q", err)
}
}