prompt description
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
1
prompts/6-console-renderer
Normal file
1
prompts/6-console-renderer
Normal 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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user