]> gitweb.factorcode.org Git - factor.git/blob - basis/disjoint-sets/disjoint-sets-tests.factor
Add absolute-path to normalize any new root path. E.G. permit ~user
[factor.git] / basis / disjoint-sets / disjoint-sets-tests.factor
1 USING: tools.test disjoint-sets namespaces slots.private ;
2 IN: disjoint-sets.tests
3
4 SYMBOL: +blah+
5
6 SYMBOL: uf
7
8 { } [
9     <disjoint-set> uf set
10     +blah+ uf get add-atom
11     19026 uf get add-atom
12     19026 +blah+ uf get equate
13 ] unit-test
14
15 { 2 } [ 19026 uf get equiv-set-size ] unit-test