generated from Trianta/cpp-unity-template
Added final assignment requirements
This commit is contained in:
parent
b06d387e5f
commit
00f1856c7c
45
README.md
45
README.md
@ -1,5 +1,35 @@
|
|||||||
# markov-generator
|
# markov-generator
|
||||||
|
|
||||||
|
## Results
|
||||||
|
|
||||||
|
This program was tested using aces-up.txt and stalemate.txt
|
||||||
|
|
||||||
|
stalemate replaced aces-up for more interesting generation
|
||||||
|
|
||||||
|
A k=8 input resulted in the best output since it stopped words from being cut off
|
||||||
|
|
||||||
|
### Favorites
|
||||||
|
|
||||||
|
*All k's were generated from stalemate.txt with n=32*
|
||||||
|
|
||||||
|
>k=0: thinopreareBunofothinothinealoupa
|
||||||
|
|
||||||
|
>k=1: wit. thimp worg thanc thelescrope
|
||||||
|
|
||||||
|
>k=2: thate anyh out. IRS. God. some IN
|
||||||
|
|
||||||
|
>k=3: that. There. high fough that' fin
|
||||||
|
|
||||||
|
>k=4: protec you?" its infrin that?" Un
|
||||||
|
|
||||||
|
>k=5: United ankles can't having younge
|
||||||
|
|
||||||
|
>k=6: thing, God. You'll forgotte shave
|
||||||
|
|
||||||
|
>k=7: three into wounded? online away.
|
||||||
|
|
||||||
|
>k=8: both. several whatsoever thing, s
|
||||||
|
|
||||||
## Compiling the project
|
## Compiling the project
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
@ -18,18 +48,3 @@ Simply run the program using:
|
|||||||
|
|
||||||
build/bin/markov
|
build/bin/markov
|
||||||
|
|
||||||
## Testing the Project
|
|
||||||
|
|
||||||
Prerequisites
|
|
||||||
- [Unity (Throw the Switch)](https://github.com/ThrowTheSwitch/Unity) | [AUR](https://aur.archlinux.org/packages/unity-test)
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
The program should now be compiled at build/bin/tests
|
|
||||||
|
|
||||||
Simply run the tests using:
|
|
||||||
|
|
||||||
build/bin/tests
|
|
||||||
|
Loading…
Reference in New Issue
Block a user