projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0205a8a
)
add smoketests for FIND and REPLACE
author
Nikodemus Siivola
<nikodemus@random-state.net>
Sun, 28 Apr 2013 13:53:11 +0000
(16:53 +0300)
committer
David Vázquez
<davazp@gmail.com>
Mon, 6 May 2013 12:57:18 +0000
(13:57 +0100)
tests/seq.lisp
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/seq.lisp
b/tests/seq.lisp
new file mode 100644
(file)
index 0000000..
326b4f7
--- /dev/null
+++ b/
tests/seq.lisp
@@ -0,0
+1,7
@@
+(test (find 1 #(2 1 3)))
+(test (not (find 1 #(2 2 2))))
+(test (not (find 1 (remove 1 #(1 2 3 1)))))
+
+(test (find 1 (list 2 1 3)))
+(test (not (find 1 (list 2 2 2))))
+(test (not (find 1 (remove 1 (list 1 2 3 1)))))