aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e013202..d7f720c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -152,6 +152,12 @@ void iterate(void)
int main(void)
{
- puts("Hello, world!");
+ word_t root = alloc_node(Fraction{2, 4});
+ to_iterate.push(root);
+ for (int i = 0; i < 10; ++i)
+ {
+ iterate();
+ printf("step[%d]:\n%s\n\n", i, to_string(nodes[root]).c_str());
+ }
return 0;
}