 
   (t/testing "Lights"
     (t/is (= [:sun {:tag :sun, :params {:dir [0 0 -1], :color [:kw :blue]}}]
-           (s/conform :scene/light [:sun {:dir [0 0 -1] :color :blue}]))
+             (s/conform :scene/light [:sun {:dir [0 0 -1] :color :blue}]))
           "Sun")
     (t/is (= [:point {:tag :light, :id-kw :test/point, :params {:color [:kw :red], :pos [0 0 0], :i 0.3}}]
              (s/conform :scene/light [:light :test/point {:color :red :pos [0 0 0] :i 0.3}]))

    (t/is (s/invalid? (s/conform :scene/group [:group :test/group {:pos [0 0 0]}]))
          "At least one item")
    (t/is (s/invalid? (s/conform :scene/group [:group :test/parent-group {:pos [0 0 0]}
                                             [:group :test/child-group {:pos [0 0 0]}
                                              [:item :test/nested-item {:mesh :mesh/box :pos [0 0 0]}]]]))
          "No nested groups")
    (t/is (s/invalid? (s/conform :scene/group [:group :test/group [:item :test/item {:mesh :mesh/box :pos [0 0 0]}]]))
          "Position is required")))

(ns yaw.spec-test
  (:require [clojure.spec.alpha :as s]
            [yaw.spec :as ys]
            [clojure.test :as t]
            [yaw.scene :as ysc]))

(t/deftest camera-specs
  (t/testing "Conforming"
