     (= type "test")
     (test-accuracity)
 
+    (= type "interval")
+    (test-interval)
+
     :else
     (println "not implemented")))
 

    (pprint (js->clj (.nearest tree #js [1742 1420] 6)))
    ))

(defn main
  [& [type]]
  (cond

(ns bench.core
  (:require [kdtree.core :as k]
            [intervaltree.core :as it]
            [cljs.pprint :refer (pprint)]
            [cljs.nodejs :as node]))

