22a. Recursion Self Quiz

draw-cats: string -> image

Draw one cat for every time the word “cat” appears in the string.

(draw-cats "nyan cat")

(draw-cats "cat dog cat")

I have had problems with tests failing even though the images are identical. I found that scaling the image in Racket caused the problem. Now I do not scale the size of the images I use in my tests.