Acme-VOYAGEGROUP-ConferenceRoom
view release on metacpan or search on metacpan
t/01_conference_room.t view on Meta::CPAN
use strict;
use warnings;
use utf8;
use Test::More;
use Test::Pretty;
use Test::Base::Less;
use Acme::VOYAGEGROUP::ConferenceRoom;
subtest 'ä¼è°å®¤ã®å ´æã確èªã§ãã' => sub {
filters {
expected => [qw/chomp/],
};
for my $block (blocks) {
is conference_room($block->input, 'none'), $block->expected, $block->input . 'ãæ£ãã表示ã§ããã';
}
};
done_testing;
__DATA__
=== PANGEA
--- input: pangea
--- expected
.---------------.---------------------.
|///////////////| |
|///////////////| .--.--.----.---|
|///////////////| | | | | |
|///////////////|---. | |--| | |
|///////////////| | '--' '----| |
|///////////////|---'-. .'---|
|///////////////| | | |
'---------------'-----'.--.--. .'----|
| | | |
|--.--| |--.--|
| | | | | |
'--'--' '--'--|
|
.------------|
| |
| |
'------------'
=== MEGALLANICA
--- input: megallanica
--- expected
.---------------.---------------------.
| | |
| | .--.--.----.---|
| | |//| | | |
| |---. |//|--| | |
| | | '--' '----| |
| |---'-. .'---|
| | | | |
'---------------'-----'.--.--. .'----|
| | | |
|--.--| |--.--|
| | | | | |
'--'--' '--'--|
|
.------------|
| |
( run in 2.157 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )