Step 42 TDD test: C++ type generation

Tests PrimitiveType mapping (int, string->std::string, bool, float->double),
ListType->std::vector, MapType->std::map, SetType->std::unordered_set,
OptionalType->std::optional, CustomType, and typed function parameters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-07 08:19:25 -07:00
parent 07f40c4786
commit 5952c51cb9
2 changed files with 197 additions and 0 deletions

View File

@@ -139,6 +139,9 @@ target_include_directories(step40_test PRIVATE src)
add_executable(step41_test tests/step41_test.cpp)
target_include_directories(step41_test PRIVATE src)
add_executable(step42_test tests/step42_test.cpp)
target_include_directories(step42_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