diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-27 13:41:27 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-27 13:41:27 -0400 |
commit | dde56d26837dc52e05207c0672b3c4a1046f6cb2 (patch) | |
tree | 6e2429bfb180b4ce20374bb00b319bbeda9da86c /ext/wittle_generator/Test.cpp | |
download | wittle-dde56d26837dc52e05207c0672b3c4a1046f6cb2.tar.gz wittle-dde56d26837dc52e05207c0672b3c4a1046f6cb2.tar.bz2 wittle-dde56d26837dc52e05207c0672b3c4a1046f6cb2.zip |
pulled out generation logic from sigma's rando
Diffstat (limited to 'ext/wittle_generator/Test.cpp')
-rw-r--r-- | ext/wittle_generator/Test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/wittle_generator/Test.cpp b/ext/wittle_generator/Test.cpp new file mode 100644 index 0000000..6139215 --- /dev/null +++ b/ext/wittle_generator/Test.cpp | |||
@@ -0,0 +1,10 @@ | |||
1 | #include "Generate.h" | ||
2 | |||
3 | int main(int, char**) { | ||
4 | Generate generator; | ||
5 | generator.setSymbol(Decoration::Start, 0, 4 * 2); | ||
6 | generator.setSymbol(Decoration::Exit, 4 * 2, 0); | ||
7 | generator.generate(4 * 2 + 1, 4 * 2 + 1, {{{Decoration::Triangle, 6}}}); | ||
8 | |||
9 | return 0; | ||
10 | } | ||