1 (load-file "honey-redux.el")
3 (ert-deftest honey-demo-tests
()
6 (car (set-current-plexus (add-plexus)))
10 (add-nema 0 0 "walrus")
14 (add-nema 0 0 "mammal")
22 (label-nema 2 "walrus")
26 (label-nema 3 "mammal")
50 (uid2label (get-sink 4))
54 (get-content (label2uid "walrus"))
58 (setq simple-example
(download-en-masse))
61 (2 "walrus" 0 0 .
"walrus")
62 (3 "mammal" 0 0 .
"mammal")
72 (1 "nema-type" 0 0))))
75 (upload-en-masse simple-example
)
79 (uid2label (get-source 4))
88 (add-nema (label2uid "type")
96 (add-nema (label2uid "type")
103 (uid2label (get-source 5))
107 (uid2label (get-sink 5))
116 (add-nema (label2uid "ground")
123 (update-source 6 (label2uid "ground"))
127 (update-sink 6 (label2uid "type"))
131 (update-content 6 "thing")
135 (add-nema (label2uid "thing-type")
141 (add-nema (label2uid "thing-type")
147 (add-nema (label2uid "isa-type")