Skip to content

Commit

Permalink
Leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiesardo committed Sep 10, 2015
1 parent b5da7e8 commit cad7b5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 118 deletions.
19 changes: 0 additions & 19 deletions test/linked/set_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,6 @@
(is (not= one-item 'baz))
(is (not= 'baz one-item)))))

(deftest equality
(let [empty (linked/set)
one-item (conj empty 1)]
(testing "Basic symmetric equality"
(is (= #{} empty))
(is (= empty #{}))
(is (= #{1} one-item))
(is (= one-item #{1})))
(testing "Order-insensitive comparisons"
(let [one-way (into empty [1 2 3 4])
other-way (into empty [3 4 1 2])
unsorted #{1 2 3 4}]
(is (= one-way other-way))
(is (= one-way unsorted))
(is (= other-way unsorted))))
(testing "Does not blow up when given something random"
(is (not= one-item 'baz))
(is (not= 'baz one-item)))))

(deftest ordering
(let [values [[:first 10]
[:second 20]
Expand Down
99 changes: 0 additions & 99 deletions test/linked/set_test.cljx

This file was deleted.

0 comments on commit cad7b5b

Please sign in to comment.