Skip to content

Commit

Permalink
removed added are2 test, added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHeald1 committed Sep 27, 2023
1 parent ca2ea99 commit d12f17f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions common-lib/test/cmr/common/test/util.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@
"The most basic case with 1"
2 (+ 1 1)
"A more complicated test"
4 (* 2 2)))
(testing "Empty call"
(util/are3
[] true)))
4 (* 2 2))))

(deftest trunc-test
(testing "Truncate string"
Expand All @@ -97,6 +94,12 @@
(testing "False case"
(is (= "foo" (util/nil-if-value "bar" "foo")))))

(deftest numeric?-test
(testing "Simple case"
(is (= true (util/numeric? "34234"))))
(testing "False case"
(is (= false (util/numeric? "0D")))))

(defn-timed test-timed-multi-arity
"The doc string"
([f]
Expand Down

0 comments on commit d12f17f

Please sign in to comment.