%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
;ELC ;;; Compiled ;;; in Emacs version 25.2.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\311\312\313\314\315\316\317\320&\210\321\322\323\324\317\312%\210\321\325\326\327\317\312%\207" [require cl-lib button debug easymenu ewoc find-func help pp custom-declare-group ert nil "ERT, the Emacs Lisp regression testing tool." :prefix "ert-" :group lisp custom-declare-face ert-test-result-expected ((((class color) (background light)) :background "green1") (((class color) (background dark)) :background "green3")) "Face used for expected results in the ERT results buffer." ert-test-result-unexpected ((((class color) (background light)) :background "red1") (((class color) (background dark)) :background "red3")) "Face used for unexpected results in the ERT results buffer."] 8) #@385 Return t if A and B have similar structure and contents. This is like `equal-including-properties' except that it compares the property values of text properties structurally (by recursing) rather than with `eq'. Perhaps this is what `equal-including-properties' should do in the first place; see Emacs bug 6581 at URL `http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581'. (fn A B) (defalias 'ert-equal-including-properties #[514 "\300\"?\207" [ert--explain-equal-including-properties] 5 (#$ . 1217)]) (defalias 'ert-test-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-p (declare (side-effect-free error-free)) (and (vectorp cl-x) (>= (length cl-x) 7) (memq (aref cl-x 0) cl-struct-ert-test-tags) t)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-p 'compiler-macro 'ert-test-p--cmacro) (defalias 'ert-test-p #[257 "\301!\205 \211G\302Y\205 \211\303H>\205 \304\207" [cl-struct-ert-test-tags vectorp 7 0 t] 3 "\n\n(fn CL-X)"]) (byte-code "\300\301\302\303#\210\304\305\306\301#\207" [function-put ert-test-p side-effect-free error-free put ert-test cl-deftype-satisfies] 4) (defalias 'ert-test-name--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-name (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 1)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-name 'compiler-macro 'ert-test-name--cmacro) (defalias 'ert-test-name #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 1] 5 "\n\n(fn CL-X)"]) (function-put 'ert-test-name 'side-effect-free t) (defalias 'ert-test-documentation--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-documentation (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 2)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-documentation 'compiler-macro 'ert-test-documentation--cmacro) (defalias 'ert-test-documentation #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 2] 5 "\n\n(fn CL-X)"]) (function-put 'ert-test-documentation 'side-effect-free t) (defalias 'ert-test-body--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-body (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 3)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-body 'compiler-macro 'ert-test-body--cmacro) (defalias 'ert-test-body #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 3] 5 "\n\n(fn CL-X)"]) (function-put 'ert-test-body 'side-effect-free t) (defalias 'ert-test-most-recent-result--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-most-recent-result (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 4)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-most-recent-result 'compiler-macro 'ert-test-most-recent-result--cmacro) (defalias 'ert-test-most-recent-result #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 4] 5 "\n\n(fn CL-X)"]) (function-put 'ert-test-most-recent-result 'side-effect-free t) (defalias 'ert-test-expected-result-type--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-expected-result-type (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 5)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-expected-result-type 'compiler-macro 'ert-test-expected-result-type--cmacro) (defalias 'ert-test-expected-result-type #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 5] 5 "\n\n(fn CL-X)"]) (function-put 'ert-test-expected-result-type 'side-effect-free t) (defalias 'ert-test-tags--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ert-test-tags (declare (side-effect-free t)) (or (and (memq (aref cl-x 0) cl-struct-ert-test-tags)) (signal 'wrong-type-argument (list 'ert-test cl-x))) (aref cl-x 6)) nil] 9 "\n\n(fn CL-WHOLE-ARG CL-X)"]) (put 'ert-test-tags 'compiler-macro 'ert-test-tags--cmacro) (defalias 'ert-test-tags #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-ert-test-tags 0 signal wrong-type-argument ert-test 6] 5 "\n\n(fn CL-X)"]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [function-put ert-test-tags side-effect-free t defalias copy-ert-test copy-sequence] 4) #@101 (fn CL-WHOLE &cl-quote &key NAME DOCUMENTATION BODY MOST-RECENT-RESULT EXPECTED-RESULT-TYPE TAGS) (defalias 'make-ert-test--cmacro #[385 "\300\301\"A@\300\302\"A@\300\303\"\206 \304A@\300\305\"A@\300\306\"\206$ \307A@\300\310\"\206/ \311A@\211\203^ \211@\312>\203F \211AA\262\2023 \313>A@\203U \314\262\2023 \315\316@\"\210\2023 \210\317\320\321\314\314&\207" [plist-member :name :documentation :body (nil (cl-assert nil)) :most-recent-result :expected-result-type (nil ':passed) :tags (nil 'nil) (:name :documentation :body :most-recent-result :expected-result-type :tags :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :documentation :body :most-recent-result :expected-result-type :tags)" cl--defsubst-expand (name documentation body most-recent-result expected-result-type tags) (cl-block make-ert-test "Constructor for objects of type `ert-test'." (vector 'cl-struct-ert-test name documentation body most-recent-result expected-result-type tags))] 20 (#$ . 6276)]) (put 'make-ert-test 'compiler-macro 'make-ert-test--cmacro) #@125 Constructor for objects of type `ert-test'. (fn &key NAME DOCUMENTATION BODY MOST-RECENT-RESULT EXPECTED-RESULT-TYPE TAGS) (defalias 'make-ert-test #[128 "\300\301\"A@\300\302\"A@\300\303\"\206 \304\305\304!\210\304DA@\300\306\"A@\300\307\"\206* \310A@\300\311\"\2065 \312A@\211\203d \211@\313>\203L \211AA\262\2029 \314>A@\203[ \304\262\2029 \315\316@\"\210\2029 \210\317\320&\207" [plist-member :name :documentation :body nil cl--assertion-failed :most-recent-result :expected-result-type (nil :passed) :tags (nil nil) (:name :documentation :body :most-recent-result :expected-result-type :tags :allow-other-keys) :allow-other-keys error "Keyword argument %s not one of (:name :documentation :body :most-recent-result :expected-result-type :tags)" vector cl-struct-ert-test] 15 (#$ . 7383)]) (byte-code "\300\301\302\303\302\211\304\305\306\307& \207" [cl-struct-define ert-test nil cl-structure-object ((cl-tag-slot) (name nil) (documentation nil) (body (cl-assert nil)) (most-recent-result nil) (expected-result-type ':passed) (tags 'nil)) cl-struct-ert-test-tags cl-struct-ert-test t] 10) #@53 Return non-nil if SYMBOL names a test. (fn SYMBOL) (defalias 'ert-test-boundp #[257 "\211\300N\205 \301\207" [ert--test t] 3 (#$ . 8512)]) #@79 If SYMBOL names a test, return that. Signal an error otherwise. (fn SYMBOL) (defalias 'ert-get-test #[257 "\300!\204 \301\302\"\210\211\303N\207" [ert-test-boundp error "No test named `%S'" ert--test] 4 (#$ . 8659)]) #@86 Make SYMBOL name the test DEFINITION, and return DEFINITION. (fn SYMBOL DEFINITION) (defalias 'ert-set-test #[514 "\300=\203\n \301\302!\210\303\304#\210\207" [nil error "Attempt to define a test named nil" put ert--test] 6 (#$ . 8887)]) #@56 Make SYMBOL name no test. Return SYMBOL. (fn SYMBOL) (defalias 'ert-make-test-unbound #[257 "\300\301\"\210\207" [cl-remprop ert--test] 4 (#$ . 9135)]) #@377 Split KEYS-AND-BODY into keyword-and-value pairs and the remaining body. KEYS-AND-BODY should have the form of a property list, with the exception that only keywords are permitted as keys and that the tail -- the body -- is a list of forms that does not start with a keyword. Returns a two-element list containing the keys-and-values plist and the body. (fn KEYS-AND-BODY) (defalias 'ert--parse-keys-and-body #[257 "\300\301\242!\2039 \211A\262\242:\204 \302\303#\210\304\"\203) \305\306#\210\211\211A\262\242BB\262\210\202 \237\262\300\211\211:\203c @\262\211A\262\242\262B\262B\262A\262\202A \211\237\266\204D\207" [nil keywordp error "Value expected after keyword %S in %S" assoc warn "Keyword %S appears more than once in %S"] 9 (#$ . 9297)]) #@542 Define NAME (a symbol) as a test. BODY is evaluated as a `progn' when the test is run. It should signal a condition on failure or just return if the test passes. `should', `should-not', `should-error' and `skip-unless' are useful for assertions in BODY. Use `ert' to run tests interactively. Tests that are expected to fail can be marked as such using :expected-result. See `ert-test-result-type-p' for a description of valid values for RESULT-TYPE. (fn NAME () [DOCSTRING] [:expected-result RESULT-TYPE] [:tags \='(TAG...)] BODY...) (defalias 'ert-deftest '(macro . #[385 "\211\203 \211A\262\242\202 \300\301\302GD\"\211\203\"