10_program.t

Anarres-Mud-Driver-0.26/t/10_program.t · 306 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::Program');

my $program = new Anarres::Mud::Driver::Program(
				Path	=> '/tmp/foo',
					);
ok(defined($program), 'We constructed something ...');
ok(ref($program) =~ m/::Program$/, '... which looks like a program');

Site Stats

Snippets: 1791
Codebases: 571