10 use Test
::More tests
=> 3;
13 use_ok
( 'CXGN::Graphics::BlastGraph' )
14 or BAIL_OUT
('could not include the module being tested');
17 my $tempfile = File
::Temp
->new;
18 my $raw_report_file = file
( $FindBin::RealBin
, 'blast_report_2.txt' );
20 my $graph2 = CXGN
::Graphics
::BlastGraph
->new( blast_outfile
=> $raw_report_file,
21 graph_outfile
=> $tempfile,
24 my $errstr = $graph2->write_img();
25 is
( $errstr, '', 'no error' );
26 cmp_ok
( -s
$tempfile, '>', 1_000
,
27 'blast graphic looks like it has some data in it',
29 or system 'display', $tempfile;