diff --git a/examples/hello-world-nested-loops.bf b/examples/hello-world-nested-loops.bf new file mode 100644 index 0000000..2627cf1 --- /dev/null +++ b/examples/hello-world-nested-loops.bf @@ -0,0 +1 @@ ++[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-. diff --git a/tests/test_example_files.py b/tests/test_example_files.py index 73a5f8d..bb301d7 100644 --- a/tests/test_example_files.py +++ b/tests/test_example_files.py @@ -12,6 +12,7 @@ ("example_file", "expected_result"), [ (Path("./examples/hello-world.bf"), "Hello, World!"), + (Path("./examples/hello-world-nested-loops.bf"), "hello world"), (Path("./examples/jump.bf"), ""), (Path("./examples/decrement_not_in_memory.bf"), ""), ],