summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2010-10-07 11:19:57 +0900
committerAkira TAGOH <akira@tagoh.org>2010-10-07 11:19:57 +0900
commitc48e8fe5afc7f2c1a8db18d7a9570fc2e7a97125 (patch)
treee58ab64e014b66e6250cc69b5f5305195209f5d6 /tests
parent4562d83fa70a93a708f4d5c55c8115b2dbcd2947 (diff)
add more testcase
Diffstat (limited to 'tests')
-rw-r--r--tests/ps/test-exec.ps29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/ps/test-exec.ps b/tests/ps/test-exec.ps
new file mode 100644
index 0000000..17efd35
--- /dev/null
+++ b/tests/ps/test-exec.ps
@@ -0,0 +1,29 @@
+%!PS-Adobe-2.0
+% test-exec.ps
+% Copyright (C) 2006-2010 Akira TAGOH
+%
+% Authors:
+% Akira TAGOH <akira@tagoh.org>
+%
+% This library is free software; you can redistribute it and/or
+% modify it under the terms of the GNU Lesser General Public
+% License as published by the Free Software Foundation; either
+% version 2 of the License, or (at your option) any later version.
+%
+% This library is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% Lesser General Public License for more details.
+%
+% You should have received a copy of the GNU Lesser General Public
+% License along with this library; if not, write to the
+% Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+% Boston, MA 02111-1307, USA.
+.initunittest
+
+[] /stackunderflow true .initunittestdict {exec} .unittest
+[5] null true .initunittestdict {(3 2 add) cvx exec} .unittest
+[3 2 /add] null true .initunittestdict {3 2 /add exec} .unittest
+[5] null true .initunittestdict {3 2 /add cvx exec} .unittest
+
+.unittestresult