some testing for equal
authorAndrea Griffini <agriff@tin.it>
Tue, 30 Apr 2013 07:02:08 +0000 (09:02 +0200)
committerAndrea Griffini <agriff@tin.it>
Tue, 30 Apr 2013 09:12:51 +0000 (11:12 +0200)
tests/equal.lisp [new file with mode: 0644]

diff --git a/tests/equal.lisp b/tests/equal.lisp
new file mode 100644 (file)
index 0000000..7f76510
--- /dev/null
@@ -0,0 +1,10 @@
+(test (equal '(1 2) '(1 2)))
+(test (equal 1 1))
+(test (equal "abc" "abc"))
+(test (not (equal "abc" "def")))
+(test (not (equal "Abc" "abc")))
+(test (equal #(1 2 3) #(1 2 3)))
+(test (equal '(1 2 #(3 4 ("a b c" T)))
+             '(1 2 #(3 4 ("a b c" T)))))
+(test (not (equal '(1 2 #(3 4 ("a b c" T)))
+                  '(1 2 #(3 4 ("a b x" T))))))