Filtering...

returnspecs-tests

books/std/util/returnspecs-tests
other
(in-package "STD")
other
(include-book "returnspecs")
other
(include-book "std/testing/assert-bang" :dir :system)
other
(assert! (equal (untranslate-and 'x) '(x)))
other
(assert! (equal (untranslate-and 't) '(t)))
other
(assert! (equal (untranslate-and '(if x
        y
        z))
    '((if x
       y
       z))))
other
(assert! (equal (untranslate-and '(if x
        y
        'nil))
    '(x y)))
other
(assert! (equal (untranslate-and '(if x
        (if a
          b
          c)
        'nil))
    '(x (if a
        b
        c))))
other
(assert! (equal (untranslate-and '(if x
        (if a
          b
          'nil)
        'nil))
    '(x a b)))