mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-23 23:18:08 +08:00
added --equation-above and --equation-below
This commit is contained in:
11
t/plots.t
11
t/plots.t
@@ -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:
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user