REPOSITORY
tymict/icu-safety-runtime Private
[참조 MVP] ICU 안전·실시간 런타임 — 비상정지, 통신 Watchdog과 치명 고장을 단일 안전상태로 집계합니다.
https://git.agrithing.ai/tymict/icu-safety-runtime.git 79f7434 fix: remove unsafe copy and restore MCU quality gate
851fe1c demo: introduce unsafe unbounded copy for gate test
debf6aa feat: adopt c MCU SDV reference implementation
a2896f9 ci: add language-specific static and dynamic analysis
71a0f42 docs: define component scope and interface contract
01e4af2 ci: verify contract tests and evidence package
ef5795a feat: add executable reference MVP
b51bddf docs: define component scope and interface contract
1 items · main
·/ tests/component_test.c
text · 336 B · 1fe1c9b Download
#include "component.h"#include <assert.h>int main(void) { asw_safety_result normal = asw_evaluate_safety(0, 0, 45, 100); assert(normal.state == ASW_RUN && normal.traction_enabled == 1); asw_safety_result timeout = asw_evaluate_safety(0, 0, 120, 100); assert(timeout.state == ASW_SAFE_STOP && timeout.reset_required == 1); return 0; }