Included Books
other
(in-package "ACL2")
include-book
(include-book "make-mv-let-call")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (make-mv-let-call 'mv nil :all 'mv-term 'body-term) '((lambda (mv) ((lambda nil body-term))) mv-term))
other
(assert-equal (make-mv-let-call 'mv '(a) :all 'mv-term 'body-term) '((lambda (mv) ((lambda (a) body-term) (mv-nth '0 mv))) mv-term))
other
(assert-equal (make-mv-let-call 'mv '(a b) :all 'mv-term 'body-term) '((lambda (mv) ((lambda (a b) body-term) (mv-nth '0 mv) (mv-nth '1 mv))) mv-term))
other
(assert-equal (make-mv-let-call 'mv '(a b c) :all 'mv-term 'body-term) '((lambda (mv) ((lambda (a b c) body-term) (mv-nth '0 mv) (mv-nth '1 mv) (mv-nth '2 mv))) mv-term))
other
(assert-equal (make-mv-let-call 'mvvv '(a b c) :all 'mv-term 'body-term) '((lambda (mvvv) ((lambda (a b c) body-term) (mv-nth '0 mvvv) (mv-nth '1 mvvv) (mv-nth '2 mvvv))) mv-term))