[racket] misleading error message about check-satisfied
Hello,
A student wrote the following two line program in BSL:
(require 2htdp/image)
(check-satisfied (rectangle 10 "solid" "black") image?)
When Run, the messages are:
check-satisfied: expects function of one argument in second position. Given image?
The test passed!
The actual error is with rectangle. It expects four arguments and it’s given only three. One of width or height is missing.
I don’t have a question. I just wanted to let you know about this behavior.
Suzanne