A test file
use strict;
use warnings;
use Test::More;
plan tests => 3;
use_ok('App');
ok(App::add(1, 1) == 2, "1+1 = 2");
is(App::add(2, 3), 5, "2+3 = 5");
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
use strict;
use warnings;
use Test::More;
plan tests => 3;
use_ok('App');
ok(App::add(1, 1) == 2, "1+1 = 2");
is(App::add(2, 3), 5, "2+3 = 5");