(check-expect expression expected-expression) is like executing the following in a less modular language:check-expect(expression, expected-expression);It basically checks that the first expression evaluates to the same value as the expected-expression.
(check-expect expression expected-expression) is like executing the following in a less modular language:
ReplyDeletecheck-expect(expression, expected-expression);
It basically checks that the first expression evaluates to the same value as the expected-expression.