diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/timer-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/timer-tests.el b/test/lisp/emacs-lisp/timer-tests.el index 65e5dc9bde9..fa92c1b64aa 100644 --- a/test/lisp/emacs-lisp/timer-tests.el +++ b/test/lisp/emacs-lisp/timer-tests.el | |||
| @@ -39,4 +39,9 @@ | |||
| 39 | (if (fboundp 'debug-timer-check) | 39 | (if (fboundp 'debug-timer-check) |
| 40 | (should (debug-timer-check)) t)) | 40 | (should (debug-timer-check)) t)) |
| 41 | 41 | ||
| 42 | (ert-deftest timer-test-multiple-of-time () | ||
| 43 | (should (equal | ||
| 44 | (timer-next-integral-multiple-of-time '(0 0 0 1) (1+ (ash 1 53))) | ||
| 45 | (list (ash 1 (- 53 16)) 1 0 0)))) | ||
| 46 | |||
| 42 | ;;; timer-tests.el ends here | 47 | ;;; timer-tests.el ends here |