added --every tests

This commit is contained in:
Dima Kogan
2021-03-10 23:42:49 -08:00
parent d7ab28e2f2
commit 0dd24c2cba
3 changed files with 89 additions and 1 deletions

View File

@@ -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:
{