Step 40 TDD test: C++ statement generation

Tests Assignment, Return, IfStatement, WhileLoop, ForLoop produce
correct C++ syntax with semicolons, braces, and parentheses.
Verifies no Python syntax leaks through.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-07 08:18:13 -07:00
parent fe32389271
commit 217a38a2c8
2 changed files with 206 additions and 0 deletions

View File

@@ -133,6 +133,9 @@ target_include_directories(step38_test PRIVATE src)
add_executable(step39_test tests/step39_test.cpp)
target_include_directories(step39_test PRIVATE src)
add_executable(step40_test tests/step40_test.cpp)
target_include_directories(step40_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