aboutsummaryrefslogtreecommitdiff
path: root/testsuite/bc.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-xtestsuite/bc.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 179d5d2a2..1c748727a 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -182,6 +182,11 @@ testing "bc print 1,2,3" \
182 "123" \ 182 "123" \
183 "" "print 1,2,3" 183 "" "print 1,2,3"
184 184
185testing "bc length" \
186 "bc" \
187 "1\n3\n1\n3\n3\n" \
188 "" "length(0); length(100); length(0.01); length(0.00120); length(0.012-0.012);"
189
185testing "bc { print 1 }" \ 190testing "bc { print 1 }" \
186 "bc" \ 191 "bc" \
187 "1" \ 192 "1" \