File: plists.lisp

package info (click to toggle)
cl-metabang-bind 20230508.git0819642-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 244 kB
  • sloc: lisp: 1,607; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
(in-package #:metabang-bind-test)

(deftestsuite test-plists (metabang-bind-test)
  ())

(addtest (test-plists)
  basic-access
  (ensure-same
   (bind (((:plist a (b _) (c _ 2) (dd d)) '(:b #\b :a #\a :d #\d)))
     (list a b c dd))
   '(#\a #\b 2 #\d) :test 'equalp))