Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
luontola committed Dec 3, 2023
1 parent 7bb5fd3 commit 8fe1b26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/hiccup2/optimizations_test.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(ns hiccup2.optimizations-test
(:require [clojure.pprint :as pp]
[clojure.test :refer :all]
(:require [clojure.test :refer :all]
[clojure.walk :as walk]
[hiccup2.core :as h]))

Expand All @@ -24,7 +23,6 @@
[:p] [:p] [:p] [:p] [:p]
(identity nil)
[:p] [:p] [:p] [:p] [:p]]))]
#_(pp/pprint pathological)
(is (= (count-forms baseline)
(count-forms pathological)))))

Expand Down Expand Up @@ -75,6 +73,5 @@
(map count-forms)
(partition 2 1)
(map (fn [[a b]] (- b a))))]
#_(pp/pprint example-3)
(is (< (apply max diffs)
(* 1.1 (apply min diffs)))))))

0 comments on commit 8fe1b26

Please sign in to comment.