20_compiler.t
Anarres-Mud-Driver-0.26/t/20_compiler.t · 281 B
From the archive Anarres-Mud-Driver-0.26.tar.gz
Download the archive « Back to the archive contents
use strict;
use Data::Dumper;
use Test::More tests => 3;
use_ok('Anarres::Mud::Driver::Compiler');
my $compiler = new Anarres::Mud::Driver::Compiler;
ok(defined($compiler), 'We constructed something ...');
ok(ref($compiler) =~ m/::Compiler$/, '... which looks like a compiler');