 (ns libx.util-test
     (:require [clojure.test :refer [deftest testing is run-tests]]
               [libx.util :refer :all]
+              [libx.core :as core]
               [libx.state :as state]
               [libx.query :as q]
               [libx.tuplerules :refer [def-tuple-session]]

    (is (every? #(= (type %) Tuple) rtn))
    (is (every? #(= % [:e :a :v :t]) (mapv keys rtn)))))

(run-tests)


(defn fact-id? [n]
  (and (> n -1) (<= n @state/fact-id)))

(deftest map->tuples-test
  (testing "Converting an entity map to a vector of tuples"
