Filtering...

check-if-call-tests

books/std/system/check-if-call-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "check-if-call")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (mv-list 4 (check-if-call 'x))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-if-call ''4))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-if-call ''t))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-if-call ''nill))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-if-call '(f x y)))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-if-call '((lambda (x) (cons x x)) a)))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4
    (check-if-call '(if a
        b
        c)))
  '(t a b c))