#!perl use Test::More tests => 3; use FindBin; use lib "$FindBin::Bin/lib"; use TestString; use MazeTestUtils; use Games::Maze::SVG; use strict; use warnings; my $maze = Games::Maze::SVG->new( 'Rect' ); can_ok( $maze, qw/get_script_list build_all_script/ ); my $scripts = [ "scripts/point.es", "scripts/sprite.es", "scripts/maze.es", "scripts/rectmaze.es", ]; is_deeply( [ $maze->get_script_list() ], $scripts, "Correct list of scripts" ); my $script = <<"EOF"; EOF is_string( $maze->build_all_script(), $script, "Build script elements." );