Filtering...

all-non-gv-ffn-symbs-tests

books/std/system/all-non-gv-ffn-symbs-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "all-non-gv-ffn-symbs")
include-book
(include-book "std/testing/assert-equal" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(assert-equal (all-non-gv-ffn-symbs 'x nil (w state)) nil)
other
(assert-equal (all-non-gv-ffn-symbs ''4 nil (w state)) nil)
other
(assert-equal (all-non-gv-ffn-symbs '(cons (len a) '3) nil (w state))
  nil)
other
(must-succeed* (defun f (x) (declare (xargs :verify-guards nil)) x)
  (assert-equal (all-non-gv-ffn-symbs '(zp (f '4)) nil (w state))
    '(f)))