projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r11022: revert incorrect stuff from clisp testing
[uffi.git]
/
tests
/
arrays.lisp
diff --git
a/tests/arrays.lisp
b/tests/arrays.lisp
index 17652bac3022ad30da8afe2b9809de638fc902fc..182b9b3ffcd1c2bd0944702aa9125c2da9c24599 100644
(file)
--- a/
tests/arrays.lisp
+++ b/
tests/arrays.lisp
@@
-7,23
+7,20
@@
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id
: arrays.lisp,v 1.4 2003/05/01 04:59:37 kevin Exp
$
+;;;; $Id$
;;;;
;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002
-2005
by Kevin M. Rosenberg
;;;;
;;;;
-;;;; UFFI users are granted the rights to distribute and use this software
-;;;; as governed by the terms of the Lisp Lesser GNU Public License
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
;;;; *************************************************************************
-(in-package :uffi-tests)
+(in-package
#
:uffi-tests)
(uffi:def-constant +column-length+ 10)
(uffi:def-constant +row-length+ 10)
(uffi:def-constant +column-length+ 10)
(uffi:def-constant +row-length+ 10)
-(uffi:def-foreign-type long-ptr
'
(* :long))
+(uffi:def-foreign-type long-ptr (* :long))
-(deftest array.1
+(deftest
:
array.1
(let ((a (uffi:allocate-foreign-object :long +column-length+))
(results nil))
(dotimes (i +column-length+)
(let ((a (uffi:allocate-foreign-object :long +column-length+))
(results nil))
(dotimes (i +column-length+)
@@
-35,7
+32,7
@@
(0 1 4 9 16 25 36 49 64 81))
(0 1 4 9 16 25 36 49 64 81))
-(deftest array.2
+(deftest
:
array.2
(let ((a (uffi:allocate-foreign-object 'long-ptr +row-length+))
(results nil))
(dotimes (r +row-length+)
(let ((a (uffi:allocate-foreign-object 'long-ptr +row-length+))
(results nil))
(dotimes (r +row-length+)