1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
Commit graph

1263 commits

Author SHA1 Message Date
Kevin Ryde
927a122dde (let-keywords, let-keywords*, let-optional,
let-optional*): Add tests of internal defines when no bindings.
2004-09-25 22:08:32 +00:00
Marius Vollmer
d7e4c2da23 * tests/ports.test ("string ports"): Copy string literal so that
it can be modified.
* tests/srfi-13.test ("string-copy!"): Likewise.
* tests/strings.test ("substring/shared"): Likewise.
2004-09-22 14:32:47 +00:00
Marius Vollmer
e4cbd1d8aa ("string ports"): Copy string literal so that it can be modified. 2004-09-22 14:25:47 +00:00
Kevin Ryde
148c3306f6 New file. 2004-09-08 22:51:08 +00:00
Marius Vollmer
6005b7a235 Don't expect (expt 1/2 2.0) to yield an exact result, use (expt 1/2 2)
instead.
2004-09-08 16:19:51 +00:00
Kevin Ryde
e456f08e24 Correction to:
(integer?): Exercise nan and +/-inf.

+/-inf should be #t.
2004-09-08 01:22:37 +00:00
Kevin Ryde
7424deab5d (port-column): Further tests, of new \a \b \r. 2004-09-08 01:20:52 +00:00
Kevin Ryde
c1122753ac (integer-expt): New tests, of infinite exponents.
(integer?): Exercise nan and +/-inf.
2004-09-07 00:20:37 +00:00
Kevin Ryde
c59e0b9fb1 (gmtime, strptime): New tests, but unresolved.
(internal-time-units-per-second): New test.
2004-09-07 00:17:49 +00:00
Kevin Ryde
d8b189d2c3 New tests of excess arguments now ignored. 2004-09-01 23:36:47 +00:00
Kevin Ryde
a8cb8832af Oops, didn't mean to put ~t yet. 2004-09-01 23:10:23 +00:00
Kevin Ryde
992b375d61 (~@d): New tests. 2004-09-01 22:54:28 +00:00
Kevin Ryde
155c14a080 2004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
* tests/gc.test: Exercise record in weak-values hash table, exposing a
	problem in 1.6.4 gc, but believed fixed by other changes in the head.
2004-09-01 01:46:19 +00:00
Marius Vollmer
685777ca18 (module-peek): Removed, this kluge is no longer necessary. 2004-08-27 12:44:14 +00:00
Kevin Ryde
8af9c4d433 Use define-module to keep bindings out of
further tests.  Use-module (test-suite lib) for stand-alone operation.
(rec): Exercise bad args.
2004-08-27 01:20:33 +00:00
Kevin Ryde
1df6de9637 (regexp-quote): New tests. 2004-08-27 01:14:49 +00:00
Kevin Ryde
93827cbd87 More tests, in particular exercise #t result on empty body. 2004-08-25 01:04:40 +00:00
Marius Vollmer
7aa29a87f9 Two more tests for double indirect substring modification. 2004-08-24 22:14:57 +00:00
Marius Vollmer
0ac467456b * lib.scm (exception:used-before-define): New.
* tests/syntax.test ("letrec"): Use it.
2004-08-23 10:48:51 +00:00
Kevin Ryde
95c098ddd9 (mkstemp!): New tests. 2004-08-20 01:36:28 +00:00
Marius Vollmer
1c17f6b0c8 Two tests for substring/shared. Also, use (test-suite lib). 2004-08-19 22:23:23 +00:00
Kevin Ryde
35ce851c9e New file. 2004-08-18 00:34:46 +00:00
Kevin Ryde
66aa0ef0c5 New file. 2004-08-18 00:29:19 +00:00
Kevin Ryde
b82cab94d6 (fractions): Correction, equal? 3/4 .75 should be #f, according to R5RS. 2004-08-17 23:20:11 +00:00
Kevin Ryde
7056d7c2e3 New file. 2004-08-17 23:15:14 +00:00
Marius Vollmer
3514320f60 New, from Jose A Ortega Ruiz. Thanks! 2004-08-15 20:26:05 +00:00
Kevin Ryde
967c0904a0 (string-any, string-every): Exercise char and charset predicate cases. 2004-08-14 00:43:56 +00:00
Kevin Ryde
c065f32614 More of: New file. 2004-08-10 00:52:50 +00:00
Kevin Ryde
d6f7a8edfc New file. 2004-08-09 01:23:03 +00:00
Kevin Ryde
2291a3a7e9 (array-fill!): Exercise byte range and type checks. 2004-08-06 01:08:12 +00:00
Kevin Ryde
3fdb855887 (uniform-vector-ref): Exercise byte returns. 2004-08-06 00:27:31 +00:00
Kevin Ryde
7f9ca7c3d7 (array-set!): Exercise byte array range checks. 2004-08-06 00:17:12 +00:00
Kevin Ryde
4c6563e1ed (string-every): Check empty string case. 2004-08-02 00:30:21 +00:00
Kevin Ryde
5e996bd608 New file, exercising copy-file. 2004-07-31 01:24:34 +00:00
Kevin Ryde
a1f3180a92 (array-set!): Exercise svect value range check. 2004-07-27 23:27:51 +00:00
Kevin Ryde
710491c564 (make-regexp): Exercise flags args validation. 2004-07-27 22:49:52 +00:00
Kevin Ryde
16ea0eb96a Add a copyright year. 2004-07-23 23:41:56 +00:00
Kevin Ryde
cd6f7d0bd2 Use #:duplicates (last) to
suppress warnings about current-time and raise replacing core bindings.
2004-07-23 23:41:35 +00:00
Kevin Ryde
26a4995c58 Use define-module, to as not to import
common-list into subsequent tests (eg. srfi-1 where `every' provokes a
warning).
2004-07-23 23:38:50 +00:00
Kevin Ryde
4fb318013b 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-19 00:58:04 +00:00
Kevin Ryde
40339d6b6f New file. 2004-07-09 22:14:19 +00:00
Rob Browning
b4e9301202 new test for SRFI-31. 2004-06-20 14:22:22 +00:00
Marius Vollmer
eb73f94b6a (number->string): Some results might differ between versions of Guile
compiled optimized and unoptimized.  Both results are accepted now.
2004-06-15 13:19:10 +00:00
Dirk Herrmann
aa498d0c1b * tests/syntax.test: Added various tests to check that
unmemoization works correctly.
2004-05-31 15:31:04 +00:00
Kevin Ryde
18ee5de9d4 * lib.scm (exception:numerical-overflow): New define.
* tests/numbers.test (modulo-expt): Use it and
exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
BSD.  Reported by Andreas Vögele.
2004-05-29 22:13:27 +00:00
Dirk Herrmann
62ed3710b7 * tests/goops.test: Wrap tests in module (test-suite
test-<file-name without .test>).  Remove calls to deprecated macro
	`undefine'.
2004-05-24 04:01:06 +00:00
Marius Vollmer
d39a7b5881 (number->string): Added tests for non-radix-10 floating point
conversions.
2004-05-10 20:41:54 +00:00
Kevin Ryde
abff733bd7 (logbit?): New tests. 2004-05-09 22:53:24 +00:00
Kevin Ryde
957f3c2b6c (test-dst, string->date local DST): Test with
"EST5EDT" instead of "CET", since HP-UX doesn't know CET.
2004-05-09 00:49:25 +00:00
Kevin Ryde
feb3640d87 (strftime): Force tm:isdst to 0 for the test, for
the benefit of HP-UX.  Reported by Andreas Vögele.
Use set-tm:zone rather than a hard coded vector offset.
2004-05-02 23:08:58 +00:00