HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a00ba7
)
(array-index-map!): Add a test failing in the current code.
author
Kevin Ryde
<user42@zip.com.au>
Fri, 10 Jun 2005 00:27:20 +0000
(
00:27
+0000)
committer
Kevin Ryde
<user42@zip.com.au>
Fri, 10 Jun 2005 00:27:20 +0000
(
00:27
+0000)
test-suite/tests/ramap.test
patch
|
blob
|
blame
|
history
diff --git
a/test-suite/tests/ramap.test
b/test-suite/tests/ramap.test
index
467d7ab
..
088a2d3
100644
(file)
--- a/
test-suite/tests/ramap.test
+++ b/
test-suite/tests/ramap.test
@@
-19,6
+19,18
@@
(define-module (test-suite test-ramap)
#:use-module (test-suite lib))
+;;;
+;;; array-index-map!
+;;;
+
+(with-test-prefix "array-index-map!"
+
+ (pass-if (let ((nlst '()))
+ (array-index-map! (make-array #f '(1 1))
+ (lambda (n)
+ (set! nlst (cons n nlst))))
+ (equal? nlst '(1)))))
+
;;;
;;; array-map!
;;;