projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218d9ab
)
some testing for equal
author
Andrea Griffini
<agriff@tin.it>
Tue, 30 Apr 2013 07:02:08 +0000
(09:02 +0200)
committer
Andrea Griffini
<agriff@tin.it>
Tue, 30 Apr 2013 09:12:51 +0000
(11:12 +0200)
tests/equal.lisp
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/equal.lisp
b/tests/equal.lisp
new file mode 100644
(file)
index 0000000..
7f76510
--- /dev/null
+++ b/
tests/equal.lisp
@@ -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))))))