File: fi01simple.t

package info (click to toggle)
libpostscript-file-perl 1.05-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 216 kB
  • ctags: 84
  • sloc: perl: 2,037; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
use strict;
use warnings;

use Test;
BEGIN { plan tests => 5 };
use PostScript::File 0.08 qw(check_file);
ok(1); # module found

my $ps = new PostScript::File();
ok($ps); # object created

my $name = "fi01simple";
$ps->output( $name, "test-results" );
ok(1); # survived so far
my $file = check_file( "$name.ps", "test-results" );
ok($file);
ok(-e $file);