]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-associations.lisp
Implement CTM isa and ako with atomic core subject protection
[topic-maps.git] / tests / ctm-associations.lisp
index 4194785e415c38d4d899867d8bd2f461f5ee7775..896252d90df6425d35a79d64a109d401205347a4 100644 (file)
            (= 1 (length (topic-maps.tmdm:association-scope
                           (first (topic-maps.tmdm:topic-map-associations (read-text "a(r: p) @theme")))))))
     (dolist (text '("a(r: p) ~reifier" "a(r: p, s: q, t: z)"))
-      (check (concatenate 'string "association-feature-boundary:" text) (if (find #\~ text) (typep (read-text text) 'topic-maps.tmdm:topic-map) (unsupported-p text))))
+      (check (concatenate 'string "association-feature-boundary:" text)
+             (association-invariants (read-text text))))
     (check "comment-can-separate-role-colon"
            (association-invariants (read-text "a(r#( separator )#:p)")))
     (check "delimited-iri-role-references"