diff --git a/common-lib/test/cmr/common/test/util.clj b/common-lib/test/cmr/common/test/util.clj index ef2f70c7bf..9dbd4ccb7d 100644 --- a/common-lib/test/cmr/common/test/util.clj +++ b/common-lib/test/cmr/common/test/util.clj @@ -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" @@ -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]