diff --git a/TODO.md b/TODO.md index cfe4efb..8e37641 100644 --- a/TODO.md +++ b/TODO.md @@ -216,8 +216,10 @@ against `tests/aksl_capture.h` and added to the `AKSL_TESTS` list. and compare against the expected sequence. The current test only counts steps, which cannot distinguish the three orders (all three visit 7 nodes). - [ ] **`AKERR_ITERATOR_BREAK` aborts the whole traversal** — **[CONFIRMED BROKEN]**, see - §2.1.3. Break at `tree[3]` in pre-order and assert 4 visits; today it visits all 7. - Add the equivalent for in-order and post-order. + §2.1.3. The pre-order case exists as `tests/test_tree_iterate_break.c`: pre-order + visits 0, 1, 3, so breaking at `tree[3]` must stop the walk at **3** visits, and today + it runs on to all 7. Add the equivalent for in-order (3, 1, 4, 0, 5, 2, 6 → breaking at + `tree[4]` gives 3) and post-order (3, 4, 1, 5, 6, 2, 0 → breaking at `tree[5]` gives 4). - [ ] `AKSL_TREE_SEARCH_BFS` and `AKSL_TREE_SEARCH_BFS_RIGHT` → `AKERR_NOT_IMPLEMENTED` today; replace with real order assertions once implemented (§3 / §2.2.9). - [ ] **Unknown `searchmode`** (e.g. `99`) — **[CONFIRMED]** currently returns *success*