aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/data-tests.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/data-tests.el b/test/src/data-tests.el
index 2423d7a7098..07159df48cf 100644
--- a/test/src/data-tests.el
+++ b/test/src/data-tests.el
@@ -614,4 +614,10 @@ comparing the subr with a much slower lisp implementation."
614 (data-tests-check-sign (% -1 -3) (% nb1 nb3)) 614 (data-tests-check-sign (% -1 -3) (% nb1 nb3))
615 (data-tests-check-sign (mod -1 -3) (mod nb1 nb3)))) 615 (data-tests-check-sign (mod -1 -3) (mod nb1 nb3))))
616 616
617(ert-deftest data-tests-ash-lsh ()
618 (should (= (ash most-negative-fixnum 1)
619 (* most-negative-fixnum 2)))
620 (should (= (lsh most-negative-fixnum 1)
621 (* (abs most-negative-fixnum) 2))))
622
617;;; data-tests.el ends here 623;;; data-tests.el ends here