I am getting an unexpected message from check-expect when I try the following:
#lang racket (require test-engine/racket-tests) (struct element (x y) #:transparent) (define (make-element-list n) (for*/list ([i n][j n]) (element (+ i 1) (+ j 1)))) (check-expect (make-element-list 1) 0) (test) The result is: Ran 1 check. 0 checks passed. Actual value differs from the expected value. Actual value: ))1 1 tnemele( tsil( Expected value: 0 but for example if I type the following into the interactions pane: > (make-element-list 1) (list (element 1 1)) Which is what I want… Why is the message from check-expect reversed? Thanks! Jeffrey Edgington -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.