sudoku-solver/README.md

43 lines
840 B
Markdown
Raw Permalink Normal View History

2023-10-09 10:27:42 -05:00
# sudoku-solver
2023-10-09 10:16:02 -05:00
2023-10-22 21:46:48 -05:00
## Notes
Uses a single sudoku file as input
Tests were ran on sudoku-easy-50 split into individual files
All were successfully solved
2023-10-09 10:16:02 -05:00
## Compiling the project
Prerequisites
- C++11
In order to compile the project, simply run these two commands:
cmake -B build -S .
cmake --build build
## Running the Project
2023-10-09 10:27:42 -05:00
The program should now be compiled at ./build/bin/sudoku
2023-10-09 10:16:02 -05:00
Simply run the program using:
2023-10-09 10:27:42 -05:00
build/bin/sudoku
2023-10-09 10:16:02 -05:00
## Testing the Project
2023-10-22 21:46:48 -05:00
Prerequisites
2023-10-22 21:51:05 -05:00
- Unity (Throw the Switch) | [AUR](https://aur.archlinux.org/packages/unity-test)
2023-10-22 21:46:48 -05:00
2023-10-09 10:16:02 -05:00
In order to compile the tests for the project, simply run these two commands:
cmake -DCMAKE_BUILD_TYPE=Debug -B build -S .
cmake --build build
2023-10-09 10:27:42 -05:00
The program should now be compiled at ./build/bin/sudoku
2023-10-09 10:16:02 -05:00
Simply run the tests using:
2023-10-22 21:46:48 -05:00
build/bin/testing