rs: Add a test for ht-str-triples->rs.

This commit is contained in:
Sergiu Ivanov 2020-03-01 20:46:06 +01:00
parent afc043d22d
commit 0051380f2b

View file

@ -17,3 +17,7 @@
(check-equal? (union-products rs '(a b)) (set 'y 'z))
(check-equal? (apply-rs rs s1) (set 'y 'z))
(check-equal? (apply-rs rs s2) (set 'y))))
(test-case "Org-mode interaction"
(check-equal? (ht-str-triples->rs #hash((a . ("x t" "y" "z"))))
(make-immutable-hash (list (cons 'a (reaction (set 'x 't) (set 'y) (set 'z)))))))