From 10516fb6554d3ee7a79d4de0662983d7a20385ee Mon Sep 17 00:00:00 2001 From: belliash Date: Sun, 28 Apr 2019 19:51:38 +0200 Subject: [PATCH] Remove useless comments from BrainFuck tests. --- tests/data/brainfuck/array.bf | 18 +----------------- tests/data/brainfuck/hello_world.bf | 2 +- tests/data/brainfuck/sierpinski.bf | 6 +----- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/tests/data/brainfuck/array.bf b/tests/data/brainfuck/array.bf index 3a7a503..91ee16d 100644 --- a/tests/data/brainfuck/array.bf +++ b/tests/data/brainfuck/array.bf @@ -3,20 +3,4 @@ >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++> >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++> >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++> -<<<<<<<<<< -first put the desired index in front of the array -++++ -we are done if there is a zero in the current tag cell -[ -decrement the current tag cell -- -move the value in the current tag cell to the next if it is not zero -[>>+<<-] -move to next tag cell ->> -we found it: print the desired element -]>. -now print another -<<<<<<<<< -++ -[-[>>+<<-]>>]>. \ No newline at end of file +<<<<<<<<<<++++[-[>>+<<-]>>]>.<<<<<<<<<++[-[>>+<<-]>>]>. \ No newline at end of file diff --git a/tests/data/brainfuck/hello_world.bf b/tests/data/brainfuck/hello_world.bf index 265e751..e0a8381 100644 --- a/tests/data/brainfuck/hello_world.bf +++ b/tests/data/brainfuck/hello_world.bf @@ -1 +1 @@ -++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. +++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. \ No newline at end of file diff --git a/tests/data/brainfuck/sierpinski.bf b/tests/data/brainfuck/sierpinski.bf index d638652..9a2562a 100644 --- a/tests/data/brainfuck/sierpinski.bf +++ b/tests/data/brainfuck/sierpinski.bf @@ -1,5 +1 @@ -++++++++[>+>++++<<-]>++>>+<[-[>>+<<-]+>>]>+[ - -<<<[ - ->[+[-]+>++>>>-<<]<[<]>>++++++[<<+++++>>-]+<<++.[-]<< - ]>.>+[>>]>+ -] \ No newline at end of file +++++++++[>+>++++<<-]>++>>+<[-[>>+<<-]+>>]>+[-<<<[->[+[-]+>++>>>-<<]<[<]>>++++++[<<+++++>>-]+<<++.[-]<<]>.>+[>>]>+] \ No newline at end of file