Got old tests to pass

This commit is contained in:
Tom Helmuth 2021-11-02 13:38:10 -04:00
parent 7c9ff00dc1
commit 56163f9a23
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
(ns propeller.push.utils.helpers-test (ns propeller.push.instructions-test
(:require [clojure.test :as t] (:require [clojure.test :as t]
[propeller.push.utils.helpers :as h])) [propeller.push.instructions :as h]))
(t/deftest get-literal-type-test (t/deftest get-literal-type-test
(t/is (= (h/get-literal-type "abc") :string)) (t/is (= (h/get-literal-type "abc") :string))

View File

@ -1,6 +1,6 @@
(ns propeller.push.utils.limits-test (ns propeller.push.limits-test
(:require [clojure.test :as t] (:require [clojure.test :as t]
[propeller.push.utils.limits :as l])) [propeller.push.limits :as l]))
(t/deftest limit-number-test (t/deftest limit-number-test
(t/is (= (l/limit-number (inc l/max-number-magnitude)) (t/is (= (l/limit-number (inc l/max-number-magnitude))

View File

@ -1,7 +1,7 @@
(ns propeller.push.state-test (ns propeller.push.state-test
(:require [clojure.test :as t] (:require [clojure.test :as t]
[propeller.push.state :as state] [propeller.push.state :as state]
[propeller.push.utils.limits :as l])) [propeller.push.limits :as l]))
(t/deftest push-to-stack-test (t/deftest push-to-stack-test
(t/is (= (state/push-to-stack {:integer '()} :integer 1) (t/is (= (state/push-to-stack {:integer '()} :integer 1)