Included Books
other
(in-package "ACL2")
include-book
(include-book "make-mv-nth-calls")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (make-mv-nth-calls 'x 0) nil)
other
(assert-equal (make-mv-nth-calls ''1 0) nil)
other
(assert-equal (make-mv-nth-calls '(f a b) 0) nil)
other
(assert-equal (make-mv-nth-calls '((lambda (x) (cons x x)) y) 0)
nil)
other
(assert-equal (make-mv-nth-calls 'x 4) `((mv-nth '0 x) (mv-nth '1 x) (mv-nth '2 x) (mv-nth '3 x)))
other
(assert-equal (make-mv-nth-calls ''1 4) `((mv-nth '0 '1) (mv-nth '1 '1) (mv-nth '2 '1) (mv-nth '3 '1)))