  Copyright ( c ) 2020 by   , All Rights Reserved .
  Substratic Engine - 
;;
  This Source Code Form is subject to the terms of the Mozilla Public
  License , v. 2.0 . If a copy of the MPL was not distributed with this
  file , You can obtain one at /.

(import (_test)
        (substratic engine alist)
        (substratic engine state)
        (substratic engine components component))

(test-group "Component functions"
  (test-group "apply overlay variables"
    (let ((test-component (make-component test
                            (a 3)
                            (b "stuff"))))
      (test-equal (make-state
                    (test (> (a 5))
                          (b "stuff")
                          (c 'Yep)))
                  (test-component (make-state) '((test . ((a . 5) (c . Yep)))))))))

  Copyright ( c ) 2020 by   , All Rights Reserved .
  Substratic Engine - 
  This Source Code Form is subject to the terms of the Mozilla Public
  License , v. 2.0 . If a copy of the MPL was not distributed with this
  file , You can obtain one at /.

(import (_test)
        (substratic engine alist)
        (substratic engine state)
        (substratic engine components component))

(test-group "Component functions"
  (test-group "apply overlay variables"
    (let ((test-component (make-component test
                            (a 3)
                            (b "stuff"))))
      (test-equal (make-state
                    (test (> (a 5))
                          (b "stuff")
                          (c 'Yep)))
                  (test-component (make-state) '((test . ((a . 5) (c . Yep)))))))))
