From a74ce9d7b283a37257d24413d51010e380696527 Mon Sep 17 00:00:00 2001 From: Matthias Felleisen Date: Tue, 6 Sep 2011 14:08:44 -0400 Subject: [PATCH] fixed docs for check-member-of and check-range --- collects/test-engine/test-engine.scrbl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/collects/test-engine/test-engine.scrbl b/collects/test-engine/test-engine.scrbl index fb4f9eca5b..4295ec3f1f 100644 --- a/collects/test-engine/test-engine.scrbl +++ b/collects/test-engine/test-engine.scrbl @@ -49,15 +49,16 @@ the error message matches the string, if it is present.} @defform[(check-member-of (test any/c) (expected any/c) ...)]{ -Accepts at least two value-producing expressions. Structurally compares the first -value to each value subsequent value specified. +Checks whether the value of the @racket[test] expression is structurally +equal to any of the values produced by the @racket[expected] expressions. -It is an error to produce a function value.} +It is an error for @racket[test] or any of the @racket[expected] expression +to produce a function value.} @defform[(check-range (test number/c) (min number/c) (max number/c))]{ -Accepts three number-producing expressions. Performs the following comparison: -min <= test <= max.} +Checks whether value of @racket[test] is between the values of the +@racket[min] and @racket[max] expressions [inclusive].} @defproc[(test) void?]{