Filtering...

check-mbt-dollar-call-tests

books/std/system/check-mbt-dollar-call-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "check-mbt-dollar-call")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (mv-list 2 (check-mbt$-call 'x)) '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call ''4)) '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call ''t)) '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call ''nill))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call '(f x y)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call '((lambda (x) (cons x x)) a)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call '(return-last 'something 't x)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call '(return-last 'mbe1-raw 'tt x)))
  '(nil nil))
other
(assert-equal (mv-list 2 (check-mbt$-call '(return-last 'mbe1-raw 't x)))
  '(nil nil))
other
(assert-equal (mv-list 2
    (check-mbt$-call '(return-last 'mbe1-raw
        't
        (if x
          't
          'nil))))
  '(t x))
other
(assert-equal (mv-list 2
    (check-mbt$-call '(return-last 'mbe1-raw
        't
        (if (f x y)
          't
          'nil))))
  '(t (f x y)))