{"size": 1136, "ext": "scrbl", "max_stars_repo_path": "multi-check-true/multi-check-true.scrbl", "max_stars_repo_name": "maueroats/syntax-parse-example", "max_stars_repo_stars_event_min_datetime": "2017-05-18T22:15:56.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-17T13:13:05.000Z", "max_issues_repo_path": "multi-check-true/multi-check-true.scrbl", "max_issues_repo_name": "maueroats/syntax-parse-example", "max_issues_repo_issues_event_min_datetime": "2017-05-18T22:54:53.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-19T02:58:50.000Z", "max_forks_repo_path": "multi-check-true/multi-check-true.scrbl", "max_forks_repo_name": "maueroats/syntax-parse-example", "max_forks_repo_forks_event_min_datetime": "2017-05-19T14:27:57.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T09:36:54.000Z"}
{"max_stars_count": 22, "max_issues_count": 20, "max_forks_count": 6, "avg_line_length": 29.1282051282, "max_line_length": 103, "alphanum_fraction": 0.6593309859}
#lang syntax-parse-example
@require[
  (for-label racket/base rackunit syntax/parse syntax-parse-example/multi-check-true/multi-check-true)]

@(define multi-check-true-eval
   (make-base-eval '(require syntax-parse-example/multi-check-true/multi-check-true)))

@title{@tt{multi-check-true}}

@; =============================================================================

@defmodule[syntax-parse-example/multi-check-true/multi-check-true]{}

@defform[(multi-check-true expr ...)]{

  The @tt{multi-check-true} expands into a sequence of @racket[check-true] unit tests.
  For example:

  @racketblock[
    (multi-check-true
      #true
      #false
      (even? 0))]

  expands to code that behaves the same as:

  @racketblock[
    (check-true #true)
    (check-true #false)
    (check-true (even? 0))]

  The main difference between the macro and the example is that the macro uses
   @racket[with-check-info*] to improve test failure messages.
  If part of a @racket[multi-check-true] fails, the error message points
   to the bad expression (rather than the @racket[multi-check-true] macro).

  @racketfile{multi-check-true.rkt}
}
