Filtering...

symbol-pos-alistp-tests

books/std/typed-alists/symbol-pos-alistp-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "symbol-pos-alistp")
include-book
(include-book "std/testing/assert-bang" :dir :system)
other
(assert! (symbol-pos-alistp nil))
other
(assert! (symbol-pos-alistp '((a . 2))))
other
(assert! (symbol-pos-alistp '((t . 88) (:kwd . 1))))
other
(assert! (not (symbol-pos-alistp 3)))
other
(assert! (not (symbol-pos-alistp '(3))))
other
(assert! (not (symbol-pos-alistp '((x . 3) (2/3 . 10)))))
other
(assert! (not (symbol-pos-alistp '((xx . 1) (t . 0)))))
other
(assert! (not (symbol-pos-alistp '((xx . -100) (t . 1)))))