source: trunk/source/tests/ansi-tests/floatp.lsp @ 8991

Last change on this file since 8991 was 8991, checked in by gz, 11 years ago

Check in the gcl ansi test suite (original, in preparation for making local changes)

File size: 492 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Thu Sep 11 23:07:33 2003
4;;;; Contains: Tests of FLOATP
5
6(in-package :cl-test)
7
8;;; Error tests
9
10(deftest floatp.error.1
11  (signals-error (floatp) program-error)
12  t)
13
14(deftest floatp.error.2
15  (signals-error (floatp 1.0 nil) program-error)
16  t)
17
18;;; Non-error tests
19
20(deftest floatp.1
21  (notnot-mv (floatp 1.0))
22  t)
23
24(deftest floatp.2
25  (floatp nil)
26  nil)
27
28(deftest floatp.3
29  (check-type-predicate #'floatp 'float)
30  nil)
31
Note: See TracBrowser for help on using the repository browser.