Function: calendar-bahai-run-tests
calendar-bahai-run-tests is a byte-compiled function defined in
cal-bahai.el.gz.
Signature
(calendar-bahai-run-tests)
Documentation
Run verification tests and return t if all pass, nil otherwise.
This function is suitable for use in automated testing.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-bahai.el.gz
(defun calendar-bahai-run-tests ()
"Run verification tests and return t if all pass, nil otherwise.
This function is suitable for use in automated testing."
(let* ((nawruz-results (calendar-bahai--verify-nawruz))
(twin-results (calendar-bahai--verify-twin-birthdays))
(nawruz-ok (zerop (length (plist-get nawruz-results :errors))))
(twin-ok (zerop (length (plist-get twin-results :errors)))))
(and nawruz-ok twin-ok)))