Commit 2e54ffb
Add Phase 4 edge case tests for LoopNode and Reactive nodes
New tests:
- gtest_loop.cpp: 15 tests for LoopNode decorator
- Static queue parsing (int, double, string, bool)
- Empty queue handling (if_empty parameter)
- Dynamic queue from blackboard
- Vector input conversion (Issue #969)
- Child failure behavior
- Restart after completion
- convertFromString tests for SharedQueue types
- gtest_reactive.cpp: 7 additional tests
- ReactiveSequence first child fails
- ReactiveSequence halt on condition change
- ReactiveFallback first child succeeds
- ReactiveFallback all children fail
- ReactiveSequence all children succeed
- ReactiveSequence re-evaluates on every tick
Coverage improvements:
- loop_node.h: 65.9% -> 98.8% (+32.9%)
- reactive_fallback.cpp: 69.2% -> 74.4% (+5.2%)
- Overall: 76.6% -> 77.1%
- Tests: 420 -> 442 (+22)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent f3c490c commit 2e54ffb
3 files changed
+683
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments