You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
(ns cipher-analytical-machine.parsers.parsers-test
|
|
(:require
|
|
[clojure.test :refer :all]
|
|
[cipher-analytical-machine.parsers.parsers :refer :all]))
|
|
|
|
(deftest unsigned-int?-test
|
|
(testing ""
|
|
(are [str expected]
|
|
(= expected
|
|
(unsigned-int? str))
|
|
"9" true
|
|
"10" true
|
|
"-10" false
|
|
"abc" false)))
|
|
|