added --equation-above and --equation-below

This commit is contained in:
Dima Kogan
2021-02-20 18:48:36 -08:00
parent 3c8c84ed59
commit 5a608b72b9
4 changed files with 37 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ BEGIN {
}
}
use Test::More tests => 82;
use Test::More tests => 84;
use File::Temp 'tempfile';
use IPC::Run 'run';
use String::ShellQuote;
@@ -279,6 +279,15 @@ tryplot( testname => 'xticlabels styles with tuplesize',
'--ymax', '6'],
refplot => 'xticlabels-styles-with-tuplesize.ref' );
tryplot( testname => 'equations',
cmd => qq{seq 10 15},
options => [qw(--equation x),
qw(--equation-above x+1),
qw(--equation-below x-1),
'--with', 'boxes fill solid border lt -1',
'--ymin', '0'],
refplot => 'equations.ref' );
SKIP:
{