Kevin Ryde
34a3e10b36
(logbit?): New tests.
2004-05-09 22:49:43 +00:00
Kevin Ryde
beab6d49dc
(test-dst, string->date local DST): Test with
...
"EST5EDT" instead of "CET", since HP-UX doesn't know CET. Reported by
Andreas Vögele.
2004-05-09 00:53:11 +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
020d2dd675
(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:25:41 +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
18137a7e19
(truncate, round, floor, ceiling): Add tests, in
...
particular exercising exactness fixes and scm_round 2^53-1 fix.
2004-04-27 23:47:22 +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
4064ed2ab5
New file.
2004-04-24 21:13:16 +00:00
Kevin Ryde
af7ffded27
New file, exercising extended list-copy.
2004-04-23 21:25:41 +00:00
Kevin Ryde
42b4fcb48d
New file.
2004-04-23 21:17:34 +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
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
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
b233636a08
New file, exercise execl, execlp, execle errors.
2004-02-28 23:16:54 +00:00
cvs2svn
f07e4811d3
This commit was manufactured by cvs2svn to create branch
...
'branch_release-1-6'.
2004-02-28 23:07:57 +00:00
Kevin Ryde
c2d31141dc
(execl, execlp, execle): Exercise errors where
...
program not found. [But disabled, due to problems with threading.]
2004-02-28 23:07:56 +00:00
Kevin Ryde
32bb5bd88c
(execl, execlp, execle): Exercise errors where program not found.
2004-02-28 21:37:41 +00:00
Kevin Ryde
593a4c2f90
(max, min): Exercise some complex num cases.
2004-02-21 22:03:57 +00:00
Marius Vollmer
6140be99ba
Added copyright notice of Michael Stoll, who probably wrote the
...
original CLISP code.
2004-02-18 19:29:16 +00:00
Kevin Ryde
2a8b5e045f
(=): Exercise frac+real and frac+complex.
2004-02-18 00:29:16 +00:00
Kevin Ryde
26bdd45f08
Remove 1/3 == 1.0/3.0, not true.
2004-02-18 00:28:41 +00:00
Marius Vollmer
581e4579de
Added GPL terms.
2004-02-17 21:37:47 +00:00
Marius Vollmer
3f12a4ec05
Added LGPL terms.
2004-02-17 21:18:53 +00:00
Kevin Ryde
d2866d6e2f
(array?, array-fill!, array-prototype): Add tests.
2004-02-12 00:23:42 +00:00
Kevin Ryde
98640fba00
New file, test array? and uniform-array-set1!.
2004-02-11 22:55:33 +00:00
Rob Browning
819f477aba
new file.
2004-02-01 21:41:11 +00:00
Marius Vollmer
c3b4b2418c
Removed again. I was confused. The file added to SCM_TESTS was
...
r5rs_pitfall.test, not r5rs_pitfall.scm.
2004-01-23 21:13:01 +00:00
Dirk Herrmann
a264c013fd
* tests/syntax.test: Added test for unmemoizing internal defines.
2004-01-23 14:24:37 +00:00
Marius Vollmer
012a3a7537
* tests/srfi-26.test: New.
...
* Makefile.am (SCM_TESTS): Added it.
2004-01-21 00:45:48 +00:00
Marius Vollmer
c18140cf6e
* tests/r5rs_pitfall.scm: New.
...
* Makefile.am (SCM_TESTS): Added it.
2004-01-11 00:58:38 +00:00
Kevin Ryde
8081c3fb51
* tests/exceptions.test (false-if-exception): Disable tests on
...
referencing expansion environment, reverted.
2004-01-11 00:18:25 +00:00
cvs2svn
29648170f8
This commit was manufactured by cvs2svn to create branch
...
'branch_release-1-6'.
2004-01-06 22:19:24 +00:00
Kevin Ryde
f410f8e7ba
New file.
...
(uniform-array-set1!): Exercise this, in particular previous segv on
improper arg list.
2004-01-06 22:19:23 +00:00
Kevin Ryde
fe89421e30
(<): Add tests inum/bignum/flonum/frac with frac.
2004-01-06 21:48:33 +00:00
Kevin Ryde
8f85f93d88
New file.
...
(q-pop!): Exercise this, in particular the "not/null?" bug reported by
Richard Todd.
2004-01-06 21:43:55 +00:00
Marius Vollmer
dab514a843
*** empty log message ***
2004-01-03 21:56:35 +00:00
Kevin Ryde
9bc915bb07
(false-if-exception): Add tests.
2004-01-03 21:12:01 +00:00
Kevin Ryde
fc5f3d51c1
(real-part): Expect fraction return, not converted to flonum.
2003-12-02 21:32:43 +00:00
Kevin Ryde
64b4cbe4f3
Exercise most-negative-fixnum over -ve of most-negative-fixnum.
2003-12-02 21:24:58 +00:00
Kevin Ryde
76903a316a
(abs): Add a few more tests.
2003-12-02 21:23:31 +00:00
Kevin Ryde
f39032937e
(count): New tests.
2003-12-02 21:17:33 +00:00
Marius Vollmer
96dfea7d7e
It's "#\\space", not "#\space".
2003-11-30 00:58:25 +00:00
Marius Vollmer
ca2b31fe08
#e1.2 is now exactly 12/10. Expect exceptions when calling inexact?
...
with a non-number.
2003-11-20 23:55:51 +00:00
Marius Vollmer
c1f1071afc
Changed to reflect the fact that rationalize only returns an exact
...
result for exact arguments. Fixed bugs in tests that were not caught
previously since all fraction were treated as equal regardless of
value.
2003-11-19 05:15:51 +00:00
Marius Vollmer
9dd9857f77
* tests/numbers.test ("string->number"): Expect exact rationals
...
for things like "1/2" and "#e1.2".
("inexact->exact"): Expect overflow error for infs and nans.
* tests/fractions.test: New file from Bill Schottstaedt. Thanks!
* tests/bit-operations.test (fixnum-bit): Round the result so that
fixnum-bit really is an integer.
2003-11-18 19:57:30 +00:00
Marius Vollmer
64daa01285
Expect a "Bad variable" error for (set! #f 1).
2003-11-17 16:55:03 +00:00