Marius Vollmer
afdb04ef18
Don't define SCM_T_INTMAX_MIN,
...
etc, they are now provided by libuile.h.
(test_int_sizes): New.
2004-07-07 15:25:23 +00:00
Marius Vollmer
9b5eee309e
*** empty log message ***
2004-07-06 13:20:07 +00:00
Marius Vollmer
66dd7f149c
Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
...
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.
2004-07-06 13:19:42 +00:00
Marius Vollmer
170bb182fa
New file.
2004-07-06 13:13:37 +00:00
Marius Vollmer
2aac7a4825
Added test-conversion to the TESTS.
2004-07-06 13:13:14 +00:00
Marius Vollmer
9cb7d02b42
*** empty log message ***
2004-07-06 12:02:59 +00:00
Rob Browning
b4e9301202
new test for SRFI-31.
2004-06-20 14:22:22 +00:00
Rob Browning
6293838ce4
*** empty log message ***
2004-06-20 14:21:31 +00:00
Rob Browning
dfedf226e6
(SCM_TESTS): add tests/srfi-31.scm.
2004-06-20 14:21:07 +00:00
Marius Vollmer
c10b894e6b
*** empty log message ***
2004-06-15 13:20: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
845087a40d
*** empty log message ***
2004-05-29 22:53:34 +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
Kevin Ryde
0825ae0b5b
(exception:numerical-overflow): New define.
2004-05-29 22:09:52 +00:00
Dirk Herrmann
12255c5896
* standalone/test-asmobs-lib.c: Fixed include statement.
2004-05-29 08:58:22 +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
3d5ebfa95c
*** empty log message ***
2004-05-10 20:43:00 +00:00
Marius Vollmer
d39a7b5881
(number->string): Added tests for non-radix-10 floating point
...
conversions.
2004-05-10 20:41:54 +00:00
Marius Vollmer
ed9f718f63
Added test-round.
2004-05-10 20:36:27 +00:00
Kevin Ryde
d12a658091
*** empty log message ***
2004-05-09 22:54:06 +00:00
Kevin Ryde
abff733bd7
(logbit?): New tests.
2004-05-09 22:53:24 +00:00
Kevin Ryde
1dccbf7f5f
*** empty log message ***
2004-05-09 00:54:57 +00:00
Kevin Ryde
fc894caf84
*** empty log message ***
2004-05-09 00:50:30 +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
b551c697dd
*** empty log message ***
2004-05-02 23:09:37 +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
Dirk Herrmann
e68ef9c82b
* tests/elisp.test: Wrap tests in module (test-suite
...
test-<file-name without .test>), following a practice that was
used on a couple of files already.
2004-04-29 20:44:52 +00:00
Kevin Ryde
dfa6017ebe
*** empty log message ***
2004-04-27 23:35:56 +00:00
Kevin Ryde
b313d73a19
(test_long_long): Exercise
...
out-of-range errors on various cases.
(test_ulong_long): New function, split from test_long_long and
similarly exercising out-of-range.
2004-04-27 23:19:35 +00:00
Dirk Herrmann
36245b66c2
* libguile/eval.c (s_macro_keyword): New static identifier.
...
(scm_m_define): Change order to first create binding and
evaluating the expression afterwards.
(scm_m_set_x): Memoize complete set! expression. Only leave
symbols if no binding exists at memoization time. Throw error if
assigning to a syntactic keyword.
(lazy_memoize_variable): New function.
(CEVAL): When execution set!, perform lazy memoization if
unmemoized symbol is detected.
* libguile/modules.c (module_variable): Return variables with
unbound value.
* libguile/tags.h: Fix comment.
* test-suite/tests/syntax.test: Add test case to check the correct
handling of define expressions.
2004-04-26 19:59:03 +00:00
Kevin Ryde
cff55508f9
*** empty log message ***
2004-04-24 21:18:30 +00:00
Kevin Ryde
32938e4dec
* tests/socket.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2004-04-24 21:17:13 +00:00
Kevin Ryde
4064ed2ab5
New file.
2004-04-24 21:13:16 +00:00
Kevin Ryde
7301de799a
*** empty log message ***
2004-04-23 21:20:17 +00:00
Kevin Ryde
cd858a314c
* tests/srfi-11.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2004-04-23 21:19:26 +00:00
Kevin Ryde
42b4fcb48d
New file.
2004-04-23 21:17:34 +00:00
Kevin Ryde
10cc8b0197
*** empty log message ***
2004-04-22 00:01:48 +00:00
Kevin Ryde
be4381fade
* standalone/test-round.c: New file, exercising scm_round.
...
* standalone/Makefile.am: Add it.
2004-04-21 23:59:04 +00:00
Kevin Ryde
370b8399a8
New file, exercising scm_round.
2004-04-21 23:53:23 +00:00
Kevin Ryde
c9cdd3966e
*** empty log message ***
2004-04-15 00:53:30 +00:00
Kevin Ryde
7f703e0d21
(min): Correction, test "documented? min" not "documented? max".
2004-04-15 00:52:48 +00:00
Kevin Ryde
2530518ea9
(max, min): Exercise some inum/frac, frac/inum,
...
big/frac, frac/big and frac/frac cases.
2004-04-15 00:50:49 +00:00
Kevin Ryde
57f6654745
*** empty log message ***
2004-04-06 00:08:18 +00:00
Kevin Ryde
ad22fe7cf8
(quotient, remainder): Exercise inum/big at and
...
near special case inum == fixnum-min, big == -fixnum-min.
2004-04-05 23:05:37 +00:00
Kevin Ryde
d6628681cd
*** empty log message ***
2004-03-25 21:49:28 +00:00
Kevin Ryde
24360e11b0
2004-03-26 Eric Hanchrow <offby1@blarg.net>
...
* tests/numbers.test (modulo-expt): New tests.
2004-03-25 21:46:35 +00:00
Kevin Ryde
23d77957a4
(min, max): Check inexactness of big/real and
...
real/big combinations, collect up tests under arg types for clarity.
2004-03-25 21:45:11 +00:00
Dirk Herrmann
62360b8975
* libguile/eval.c: Separated some definitions relevant for execution
...
from the memoization part of the file.
(copy_tree): New static function
(scm_copy_tree): Rewritten to fix two kinds or bugs: First, cyclic
structures are detected now and will lead to an exception instead
of forcing guile to run in an endless loop, using up all the
system's memory. Second, arrays in the cdr of an improper list
are now copied. See the new test cases in eval.test.
* test-suite/tests/eval.test: Added tests which reflect the recent
fixes to copy-tree.
2004-03-24 01:21:50 +00:00
Kevin Ryde
b3ffe4d491
*** empty log message ***
2004-02-28 23:22:12 +00:00