Filtering...

check-list-call-tests

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

Included Books

other
(in-package "ACL2")
include-book
(include-book "check-list-call")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (mv-list 2 (check-list-call 'x)) '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call ''4)) '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call ''t)) '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call ''nill))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call ''nil)) '(t nil))
other
(assert-equal (mv-list 2 (check-list-call *nil*)) '(t nil))
other
(assert-equal (mv-list 2 (check-list-call '(f x y z)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call '(cons x y)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-list-call '(cons x 'nil)))
  '(t (x)))
other
(assert-equal (mv-list 2 (check-list-call '(cons x (cons y 'nil))))
  '(t (x y)))
other
(assert-equal (mv-list 2
    (check-list-call '(cons x (cons y (cons z 'nil)))))
  '(t (x y z)))