Filtering...

function-namep-tests

books/std/system/function-namep-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "function-namep")
include-book
(include-book "std/testing/assert-bang" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(assert! (function-namep 'len (w state)))
other
(assert! (not (function-namep 'cons-car-cdr (w state))))
other
(assert! (not (function-namep 'bbbbbbbbbbb (w state))))
other
(must-succeed* (defun f (x) x)
  (assert! (function-namep 'f (w state))))
other
(assert! (not (function-namep 33 (w state))))
other
(assert! (not (function-namep "len" (w state))))