Carp/test/static_array.carp

21 lines
376 B
Plaintext
Raw Normal View History

(use StaticArray)
(load "Test.carp")
(use Test)
(deftest test
(assert-true test
(= $[1 2 3] $[1 2 3])
"= works as expected I")
(assert-false test
(= $[1 2 3] $[1 2 3 4 5])
"= works as expected II")
(assert-false test
(= $[1 1 1] $[0 0 0])
"= works as expected III")
)