source: trunk/source/tests/ansi-tests/random-state-p.lsp @ 8991

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

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

File size: 585 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Sat Sep  6 17:50:04 2003
4;;;; Contains: Tests of RANDOM-STATE-P
5
6(in-package :cl-test)
7
8(deftest random-state-p.error.1
9  (signals-error (random-state-p) program-error)
10  t)
11
12(deftest random-state-p.error.2
13  (signals-error (random-state-p nil nil) program-error)
14  t)
15
16(deftest random-state-p.1
17  (check-type-predicate #'random-state-p 'random-state)
18  nil)
19
20(deftest random-state-p.2
21  (notnot-mv (random-state-p *random-state*))
22  t)
23
24(deftest random-state-p.3
25  (notnot-mv (random-state-p (make-random-state)))
26  t)
Note: See TracBrowser for help on using the repository browser.