use Test;
use _007::Test;

my @lines = run-and-collect-lines("examples/power.007");

is +@lines, 4, "correct number of lines of output";
is @lines[0], "8", "line #1 correct";
is @lines[1], "1", "line #2 correct";
is @lines[2], "42", "line #3 correct";
is @lines[3], "256", "line #3 correct";

done-testing;

use Test;
use _007::Test;

my @lines = run-and-collect-lines("examples/power.007");

is +@lines, 4, "correct number of lines of output";
is @lines[0], "8", "line #1 correct";
is @lines[1], "1", "line #2 correct";
is @lines[2], "42", "line #3 correct";
is @lines[3], "256", "line #4 correct";

done-testing;

Fix typo in test description
Fix typo in test description
