Step 71 TDD test: Incremental optimization with rollback

Tests IncrementalOptimizer: transforms recorded in history, undoLast
restores original AST, undo specific transform by ID while keeping
others, and provenance tracking (node knows which transform created it).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-07 08:32:59 -07:00
parent 5ba255cbca
commit b00610508b
2 changed files with 270 additions and 0 deletions

View File

@@ -202,6 +202,9 @@ target_include_directories(step69_test PRIVATE src)
add_executable(step70_test tests/step70_test.cpp)
target_include_directories(step70_test PRIVATE src)
add_executable(step71_test tests/step71_test.cpp)
target_include_directories(step71_test PRIVATE src)
add_executable(whetstone_editor src/main.cpp)
target_include_directories(whetstone_editor PRIVATE src)
# find_package(SDL2 REQUIRED) # Commented out for now to avoid build issues