[feedgnuplot] 29/42: added --hardcopy tests
Dima Kogan
dkogan-guest at alioth.debian.org
Sun Oct 20 08:04:08 UTC 2013
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to tag v1.25
in repository feedgnuplot.
commit f2fa0bf14cd8422b3e935a913febe52190c45948
Author: Dima Kogan <dima at secretsauce.net>
Date: Sat Oct 19 19:44:59 2013 -0700
added --hardcopy tests
---
t/plots.t | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/t/plots.t b/t/plots.t
index 907a919..a5e26fe 100644
--- a/t/plots.t
+++ b/t/plots.t
@@ -65,6 +65,54 @@ tryplot( testname => 'basic line plot',
EOF
+tryplot( testname => 'basic line plot to piped hardcopy',
+ cmd => 'seq 5',
+ options => [qw(--lines --points),
+ '--hardcopy', '|cat'],
+ refplot => <<'EOF' );
+
+
+ 5 ++--+---+--+---+---+---+--+--+A
+ + + + + + + + + *+
+ | * |
+ | * |
+ 4.5 ++ * ++
+ | * |
+ | * |
+ | * |
+ | * |
+ 4 ++ A ++
+ | * |
+ | * |
+ | * |
+ 3.5 ++ * ++
+ | * |
+ | * |
+ | * |
+ 3 ++ A ++
+ | * |
+ | * |
+ | * |
+ | * |
+ 2.5 ++ * ++
+ | * |
+ | * |
+ | * |
+ 2 ++ A ++
+ | * |
+ | * |
+ | * |
+ | * |
+ 1.5 ++ * ++
+ | * |
+ | * |
+ +* + + + + + + + +
+ 1 A+--+---+--+---+---+---+--+--++
+ 1 1.5 2 2.5 3 3.5 4 4.5 5
+
+Wrote output to |cat
+EOF
+
tryplot( testname => 'basic lines-only plot',
cmd => 'seq 5',
options => [qw(--lines)],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git
More information about the debian-science-commits
mailing list