mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-12-17 16:21:11 +08:00
added --every tests
This commit is contained in:
12
t/plots.t
12
t/plots.t
@@ -39,7 +39,7 @@ BEGIN {
|
||||
}
|
||||
}
|
||||
|
||||
use Test::More tests => 84;
|
||||
use Test::More tests => 88;
|
||||
use File::Temp 'tempfile';
|
||||
use IPC::Run 'run';
|
||||
use String::ShellQuote;
|
||||
@@ -288,6 +288,16 @@ tryplot( testname => 'equations',
|
||||
'--ymin', '0'],
|
||||
refplot => 'equations.ref' );
|
||||
|
||||
tryplot( testname => 'everyall',
|
||||
cmd => q{seq 12 | gawk '{print $1,$1+1}'},
|
||||
options => [qw(--points --everyall 2)],
|
||||
refplot => 'everyall.ref' );
|
||||
|
||||
tryplot( testname => 'every-individual',
|
||||
cmd => q{seq 12 | gawk '{print $1,$1+1}'},
|
||||
options => [qw(--points --every 0 2 --every 1 3)],
|
||||
refplot => 'every-individual.ref' );
|
||||
|
||||
SKIP:
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user