Filtering...

check-lambda-call-tests

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

Included Books

other
(in-package "ACL2")
include-book
(include-book "check-lambda-call")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (mv-list 4 (check-lambda-call 'x))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-lambda-call ''7/5))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4 (check-lambda-call '(h a b)))
  '(nil nil nil nil))
other
(assert-equal (mv-list 4
    (check-lambda-call '((lambda (x y) (cons x y)) a b)))
  '(t (x y) (cons x y) (a b)))
other
(assert-equal (mv-list 4 (check-lambda-call '((lambda nil '0))))
  '(t nil '0 nil))
other
(assert-equal (mv-list 4 (check-lambda-call '((lambda (u) u) uu)))
  '(t (u) u (uu)))