2 # Copyright 2015 by Bernhard Reutner-Fischer
3 # Licensed under GPLv2 or later, see file LICENSE in this source tree.
7 # testing "test name" "command" "expected result" "file input" "stdin"
9 testing "dc basic syntax (stdin, multiple args)" \
14 testing "dc basic syntax (argv, single arg)" \
19 testing "dc basic syntax (argv, multiple args)" \
24 testing "dc complex with spaces (single arg)" \
25 "dc '8 8 * 2 2 + / p'" \
29 testing "dc complex without spaces (single arg)" \
34 testing "dc complex with spaces (multiple args)" \
35 "dc 8 8 \* 2 2 + / p" \
39 testing "dc complex without spaces (multiple args)" \
46 # we do not support arguments
47 testing "dc -e <exprs>" \
52 testing "dc -f <exprs-from-given-file>" \