File: 01-loadsvg.t

package info (click to toggle)
libsvg-perl 2.52-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 412 kB
  • sloc: perl: 2,433; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

use Test::More tests => 5;

use_ok('SVG',"Use SVG");

# I am not sure why were these tests incluced,
# but maybe there was a related bug?
use_ok('SVG',"call SVG twice without warnings");
use_ok('SVG',"call SVG three times without warnings");
use_ok('SVG',"call SVG dont blow it away without warnings");

my $svg = SVG->new;
isa_ok $svg, 'SVG';