racket/collects/tests/htdp-lang
Robby Findler 7acc5b7852 adjust HtDP teaching languages' first and rest so that they accept circular lists.
This commit fix an unintentional change introduced by this commit:
  c7d67f9bab
(and it also adds in test cases for what that commit appears to have
been doing)

Assuming everyone agrees that the behavior for first rest from back
in 2010 is the behavior we still want (and the lack of release notes
on the subject makes me believe that we do), then:

Please include in 5.2.
2011-10-21 08:09:34 -05:00
..
pr I believe this fixes PR12117. The teaching languages rely on syntax/struct. (I have run the teaching language tests, but do not other uses of syntax/struct.) It appears that syntax/struct has been incorrectly creating this information for some time. The problem is that it would end the static info with a #f if the selectors or setters were omitted, but reading the documentation implies that there should be a final #f in either case. I've therefore changed the boolean to an or over the flags 2011-08-19 11:30:42 -06:00
advanced.rktl adjust HtDP teaching languages' first and rest so that they accept circular lists. 2011-10-21 08:09:34 -05:00
beg-adv.rktl relaxed the restrictions on planet requires in the teaching languages to allow the new forms 2011-10-07 11:48:24 -05:00
beg-bega.rktl Updated the error message of check-expect. Fine tuning of the error messages. 2011-07-06 05:35:25 -04:00
beg-intm.rktl The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
beg-intml.rktl Updated the error message of check-expect. Fine tuning of the error messages. 2011-07-06 05:35:25 -04:00
bega-adv.rktl Updated the error message of check-expect. Fine tuning of the error messages. 2011-07-06 05:35:25 -04:00
beginner-abbr.rktl moved the teaching language test suites to their own directory 2010-09-02 15:41:02 -05:00
beginner.rktl fix ASL `(begin0)' error message 2011-07-07 10:57:04 -06:00
htdp-image.rktl Updated the expected errors messages in the tests to match the new vocab. 2011-07-06 08:47:15 -04:00
htdp-test.rktl Htdp no longer throws exceptions that have no source information 2011-07-06 00:19:24 -04:00
htdp.rktl moved the teaching language test suites to their own directory 2010-09-02 15:41:02 -05:00
intermediate-lambda.rktl moved the teaching language test suites to their own directory 2010-09-02 15:41:02 -05:00
intermediate.rktl The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
intm-adv.rktl fix HtDP local' to work better with macros that expand to begin' 2011-09-03 15:15:24 -06:00
intm-intml.rktl The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
intmlam-adv.rktl The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
prim.rkt fix define-primitive' and provide-primitive' 2011-07-09 16:57:56 -06:00
README added 'function', Closes PR 11283 2010-10-13 10:31:00 -04:00

The files in this directory test the teaching language implementation.

htdp.rktl
  load this file (racket -qr htdp.rktl) to run most of the tests
  $ racket -qr htdp.rktl
  
htdp-image.rktl
  load this file in gracket to run the htdp/image tests
  $ gracket -qr htdp-image.rktl 

See beginner.rktl for more.