Included Books
other
(in-package "ACL2")
include-book
(include-book "check-user-term")
include-book
(include-book "std/testing/assert-bang" :dir :system)
include-book
(include-book "std/testing/assert-equal" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(assert-equal (mv-list 2 (check-user-term '(mv x y z) (w state))) '((cons x (cons y (cons z 'nil))) (nil nil nil)))
other
(assert-equal (mv-list 2 (check-user-term '(mv state 1) (w state))) '((cons state (cons '1 'nil)) (state nil)))
other
(must-succeed* (defstobj s) (assert-equal (mv-list 2 (check-user-term '(mv s 0 state) (w state))) '((cons s (cons '0 (cons state 'nil))) (s nil state))))
other
(assert-equal (mv-list 2 (check-user-term '(+ (len x) 55) (w state))) '((binary-+ (len x) '55) (nil)))