fixing scribble docs for check-*, step 2
This commit is contained in:
parent
6f04fe3433
commit
710404fd47
|
@ -34,8 +34,8 @@ value or an inexact number.}
|
||||||
@defform[(check-within (test any/c) (expected any/c) (delta number?))]{
|
@defform[(check-within (test any/c) (expected any/c) (delta number?))]{
|
||||||
Checks whether the value of the @racket[test] expression is structurally
|
Checks whether the value of the @racket[test] expression is structurally
|
||||||
equal to the value produced by the @racket[expected] expression; every
|
equal to the value produced by the @racket[expected] expression; every
|
||||||
number in the first expression must be within delta of the corresponding
|
number in the first expression must be within @racket[delta] of the
|
||||||
number in the second expression.
|
corresponding number in the second expression.
|
||||||
|
|
||||||
It is an error for @racket[test] or @racket[expected] to produce a function
|
It is an error for @racket[test] or @racket[expected] to produce a function
|
||||||
value.}
|
value.}
|
||||||
|
@ -50,7 +50,7 @@ Checks whether the value of the @racket[test] expression is structurally
|
||||||
equal to any of the values produced by the @racket[expected] expressions.
|
equal to any of the values produced by the @racket[expected] expressions.
|
||||||
|
|
||||||
It is an error for @racket[test] or any of the @racket[expected] expression
|
It is an error for @racket[test] or any of the @racket[expected] expression
|
||||||
to produce a function value.}
|
to produce a function value or an inexact number.}
|
||||||
|
|
||||||
@defform[(check-range (test number/c) (min number/c) (max number/c))]{
|
@defform[(check-range (test number/c) (min number/c) (max number/c))]{
|
||||||
Checks whether value of @racket[test] is between the values of the
|
Checks whether value of @racket[test] is between the values of the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user