about summary refs log tree commit diff stats
path: root/ext/wittle_generator/Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wittle_generator/Test.cpp')
-rw-r--r--ext/wittle_generator/Test.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/ext/wittle_generator/Test.cpp b/ext/wittle_generator/Test.cpp index ecd2a37..8273da8 100644 --- a/ext/wittle_generator/Test.cpp +++ b/ext/wittle_generator/Test.cpp
@@ -2,13 +2,18 @@
2 2
3int main(int, char**) { 3int main(int, char**) {
4 Generate generator; 4 Generate generator;
5 generator.setFlag(Generate::RegularStartEnd); 5 // generator.setFlag(Generate::RegularStartEnd);
6 /*generator.generate(4 * 2 + 1, 4 * 2 + 1, 6 /*generator.generate(4 * 2 + 1, 4 * 2 + 1,
7 {{{Decoration::Triangle | Decoration::Orange, 6}}});*/ 7 {{{Decoration::Triangle | Decoration::Orange, 6}}});*/
8 generator.setSymmetry(Panel::Vertical); 8 // generator.setSymmetry(Panel::Vertical);
9 generator.generate( 9 generator.setSymbol(Decoration::Exit, 0, 0);
10 5 * 2 + 1, 5 * 2 + 1, 10 generator.setSymbol(Decoration::Exit, 7 * 2, 0);
11 {{{Decoration::Triangle | Decoration::Color::Orange, 6}}}); 11 generator.setSymbol(Decoration::Exit, 7 * 2, 7 * 2);
12 generator.generate(7 * 2 + 1, 7 * 2 + 1,
13 {{{Decoration::Stone | Decoration::Color::White, 10},
14 {Decoration::Stone | Decoration::Color::Black, 10},
15 {Decoration::Dot, 10},
16 {Decoration::Start, 2}}});
12 17
13 return 0; 18 return 0;
14} 19}