### ----------------------------------------------------
### -- Inline::Brainfuck
### -- Licenses: Artistic-2.0
### -- Authors: Zoffix Znet
### -- File: t/01-output.rakutest
### ----------------------------------------------------
use Test;
use Test::Output;
use Inline::Brainfuck;

plan 2;

output-is {
    brainfuck '++++++++++ ++++++++++ ++++++++++ ++++++++++'
        ~ '++++++++++ ++++++++++ ++++++++++ ++.';
}, "H", 'Output letter "H"';

output-is {
    brainfuck 't/bf-programs/hello-world.bf'.IO.slurp;
}, "Hello World!\n", 'Hello world! program works';

# vim: expandtab shiftwidth=4


