Skip to content

Commit

Permalink
Add example failing test
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Oct 24, 2024
1 parent bb7bab7 commit e42d5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/hello-world-nested-loops.bf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-.
1 change: 1 addition & 0 deletions tests/test_example_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"), ""),
],
Expand Down

0 comments on commit e42d5b4

Please sign in to comment.