File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11#|
22LambdaNative - a cross-platform Scheme framework
3- Copyright (c) 2009-2013 , University of British Columbia
3+ Copyright (c) 2009-2020 , University of British Columbia
44All rights reserved.
55
66Redistribution and use in source and binary forms, with or
@@ -236,9 +236,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
236236 )))
237237(unit-test " listlist-set!" " Matrix value setting"
238238 (lambda () (and
239- (equal? (let ((m ' (( 1 2 ) (3 4 )))) (listlist-set! m 0 0 5 )) ' ((5 2 ) (3 4 )))
240- (equal? (let ((m ' (( 1 2 ) (3 4 )))) (listlist-set! m 1 0 5 )) ' ((1 2 ) (5 4 )))
241- (equal? (let ((m ' (( 1 2 3 ) (4 5 6 ) (7 8 9 )))) (listlist-set! m 1 1 55 ))
239+ (equal? (let ((m ( list ( list 1 2 ) (list 3 4 )))) (listlist-set! m 0 0 5 )) ' ((5 2 ) (3 4 )))
240+ (equal? (let ((m ( list ( list 1 2 ) (list 3 4 )))) (listlist-set! m 1 0 5 )) ' ((1 2 ) (5 4 )))
241+ (equal? (let ((m ( list ( list 1 2 3 ) (list 4 5 6 ) (list 7 8 9 )))) (listlist-set! m 1 1 55 ))
242242 ' ((1 2 3 ) (4 55 6 ) (7 8 9 )))
243243 )))
244244; ;eof
You can’t perform that action at this time.
0 commit comments