aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/factor.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/factor.test b/tests/factor.test
index a3e4cbf8..ed1cc226 100755
--- a/tests/factor.test
+++ b/tests/factor.test
@@ -16,3 +16,7 @@ testing "factor 10000000018" "factor 10000000018" \
"10000000018: 2 131 521 73259\n" "" ""
testing "factor 10000000019" "factor 10000000019" \
"10000000019: 10000000019\n" "" ""
+
+testing "factor 3 6 from stdin" "factor" "3: 3\n6: 2 3\n" "" "3 6"
+testing "factor stdin newline" "factor" "3: 3\n6: 2 3\n" "" "3\n6\n"
+