aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/comp-tests.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 74ed33a43cf..63dfafafb04 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -272,6 +272,15 @@
272 (should (equal (comp-bubble-sort-f list1) 272 (should (equal (comp-bubble-sort-f list1)
273 (sort list2 #'<))))) 273 (sort list2 #'<)))))
274 274
275(ert-deftest comp-tests-list-inline ()
276 "Test some inlined list functions."
277 (defun comp-tests-consp-f (x)
278 ;; Bconsp
279 (consp x))
280
281 (should (eq (comp-tests-consp-f '(1)) t))
282 (should (eq (comp-tests-consp-f 1) nil)))
283
275(ert-deftest comp-tests-gc () 284(ert-deftest comp-tests-gc ()
276 "Try to do some longer computation to let the gc kick in." 285 "Try to do some longer computation to let the gc kick in."
277 (dotimes (_ 100000) 286 (dotimes (_ 100000)