Commit Graph

25 Commits

Author SHA1 Message Date
Stephen Bloch
2df9ca8789 Added fold-image and fold-image/extra functions, as well as tests for
them.
2012-04-28 18:09:57 -04:00
Eli Barzilay
f7c67b49a4 Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
Stephen Bloch
39629e8e99 map-image and map-image/extra now give their function argument x and y
coordinates, or not, depending on the arity of that function.  This
enables one to write a simple function from color -> color and
immediately map it on an image.  For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Stephen Bloch
753dfa3cb2 Fixed error messages, added tests for type errors. 2011-10-02 22:54:34 -04:00
Stephen Bloch
764f356fdc Added some tests for map-image/extra and build-image/extra. 2011-07-24 21:50:39 -04:00
Stephen Bloch
9a24e66df0 Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-) 2011-07-24 21:50:38 -04:00
Stephen Bloch
ab01d563ca Changed error messages in test case to match corrected error messages in
2htdp.
2011-07-24 21:50:38 -04:00
Stephen Bloch
52527d8a95 Fixed some more error messages. 2011-07-12 07:08:47 -04:00
Stephen Bloch
904ef63ce2 Fixed some more error messages. 2011-07-11 07:25:46 -04:00
Stephen Bloch
d3df33b023 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
2011-07-11 07:25:46 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Stephen Bloch
79778e0a1e Added some illegal-argument tests to map-image.rkt.
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Stephen Bloch
0417e6b1d3 Took private files out of test-docs-complete. 2011-04-29 07:45:08 -04:00
Stephen Bloch
d3d8659183 Moved most files into private directory.
Modified main.rkt, picturing-programs.scrbl, and test-docs-complete
to reflect the new locations.
2011-04-28 22:13:41 -04:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Stephen Bloch
fb7d948794 Revised test cases that used big-bang so they don't actually run when
loaded (so drdr doesn't complain about timeouts).
2011-01-07 23:52:39 -05:00
Eli Barzilay
3fb871586f Removed some exe bits that look redundant. 2010-12-31 15:59:39 -05:00
Stephen Bloch
8e655dee8e Removed installed-teachpack reference from map-image test suite. Added to rotating-triangle test case. 2010-12-30 11:02:04 -05:00
Stephen Bloch
f3352794d8 Minor tweaks to documentation and rotating-triangle test. 2010-12-30 10:29:12 -05:00
Stephen Bloch
9fb54f1ae9 Added rotating-triangle test. 2010-12-30 07:46:43 -05:00
Stephen Bloch
4bce35f0a4 Changes to documentation and require/provide lines to get "raco setup" to
work smoothly.  Deleted compiled code and backup files, as well as tests
that were just copied from universe.
2010-12-30 07:46:43 -05:00
Stephen Bloch
73ef1d6c14 Added more test cases; started updating documentation. 2010-12-30 07:46:42 -05:00
Stephen Bloch
437ea70080 minor fixes 2010-12-30 07:46:42 -05:00
Stephen Bloch
fb05266ad2 Rewriting map-image to work with 5.1. Also added a bunch of test cases
to map-image-bsl-tests.rkt.
2010-12-30 07:46:42 -05:00