rackunit
rackunit copied to clipboard
multiple values
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))
+omega
On Aug 14, 2017, at 6:39 PM, Robby Findler [email protected] wrote:
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)) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/racket/rackunit/issues/71, or mute the thread https://github.com/notifications/unsubscribe-auth/ABf5-0dII1SCvc4EL_Iu4YBbxjh6OK70ks5sYMyIgaJpZM4O2-9q.
is this still an issue? Please consider adding the label good first issue
so it is findable:
Issues labeled good first issue
in in Racket GitHub repositories
This this the same issue as #122 ?