X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-basic.lisp;h=c551b0d16049efca5407ebbfff4166787323985a;hb=f69c5bfba59d54628f9a08b83413ec3df3c92432;hp=34b3f25ffe60bbf9d43db3fc5281ac66b84e1b2f;hpb=a223800f208347e8a07f597648fcdb6c05ec5afe;p=clsql.git diff --git a/tests/test-basic.lisp b/tests/test-basic.lisp index 34b3f25..c551b0d 100644 --- a/tests/test-basic.lisp +++ b/tests/test-basic.lisp @@ -45,9 +45,7 @@ (destructuring-bind (int float bigint str) row (push (list (integerp int) (typep float 'double-float) - (if (member *test-database-type* '(:odbc :aodbc)) - t - (integerp bigint)) + (integerp bigint) (stringp str)) results)))) ((t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t))) @@ -106,6 +104,7 @@ (let ((results '()) (rows (map-query 'vector #'list "select * from TYPE_TABLE" :result-types nil))) + (declare (array rows)) (dotimes (i (length rows) results) (push (list @@ -165,10 +164,6 @@ (let ((*read-default-float-format* 'double-float)) (coerce (read-from-string num-str) 'double-float))) -(defun test-table-row (row types) -) - - (defun double-float-equal (a b) (if (zerop a) (if (zerop b)