racket/rackunit

multiple values

Offen

#71 geöffnet am 14.08.2017

 (3 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)Racket (36 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (20 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

It would be great if check-equal? accepted multiple values in each of its sub-expressions and then just made sure that they had the same number of values and then checked that they were equal. I usually work around this by writing something like:

(check-equal? (call-with-values (lambda () (call-my-multi-valued-function)) list)
              (list 'the 'expected 'results))

Contributor Guide