Commit Graph

16 Commits

Author SHA1 Message Date
Eli Barzilay
7d6e79023c Random pickiness.
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
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
764f356fdc Added some tests for map-image/extra and build-image/extra. 2011-07-24 21:50:39 -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
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
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
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