prompt description

This commit is contained in:
cdemeyer-teachx
2025-08-26 13:02:15 +09:00
parent 51bda8ddb8
commit 2f11b6fa0e
3 changed files with 3 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
enable_testing()
# Options
option(ND_WFC_BUILD_TESTS "Build tests" OFF) # Temporarily disabled due to gtest hash issue
option(ND_WFC_BUILD_TESTS "Build tests" ON)
option(ND_WFC_BUILD_EXAMPLES "Build examples" ON)
option(ND_WFC_USE_SYSTEM_LIBS "Use system libraries instead of bundled" OFF)

View File

@@ -0,0 +1 @@
I want you to create code files in the demos/ directory that helps with console rendering. I want to be able to render the sudoku and nonogram demos that I have right now, but also have them solved in real time without adding new lines to the console. Test out your solution by rendering a sudoku puzzle. Give a clear API to render the state of the existing Sudoku class. Make sure you first allocate enough space in the console before rendering anything. So first add some empty lines before the rendering.

View File

@@ -3,17 +3,12 @@ include(FetchContent)
# Fetch Google Test
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip
URL_HASH SHA256=8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
)
FetchContent_MakeAvailable(googletest)
set(TEST_SOURCES
test_main.cpp
test_wfc.cpp
test_grid.cpp
test_wave.cpp
test_propagator.cpp
)
# Create test executable