<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Sep 18, 2011, at 9:22 PM, Luke Vilnis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks guys, that works! Still, it's pretty confusing that running <font face="'courier new', monospace">(test)</font> from the repl does not work, only inserting it at the end of the file. It would be nice to mention that in the docs, something like:<div> <br></div><div>"<span style="font-family:serif;background-color:rgb(255, 255, 255);font-size:medium">Note that the check forms only register checks to be performed. The checks are actually run by the&nbsp;<span style="font-family:monospace;white-space:inherit;color:rgb(38, 38, 128)"><a style="text-decoration:none;color:blue">test</a></span>&nbsp;function."</span></div> <div><font face="serif" size="3"><br></font></div><div>=&gt;</div><div><font face="serif" size="3"><br></font></div> <div><font face="serif" size="3"><span style="font-family:arial;font-size:small">"<span style="font-family:serif;background-color:rgb(255, 255, 255);font-size:medium">Note that the check forms only register checks to be performed. The checks are actually run by the&nbsp;<span style="font-family:monospace;white-space:inherit;color:rgb(38, 38, 128)"><a style="text-decoration:none;color:blue">test</a></span>&nbsp;function, which should be called at the end of the file. Using&nbsp;</span></span></font><span class="Apple-style-span" style="font-family: serif; background-color: rgb(255, 255, 255); font-size: medium; "><span style="font-family: monospace; white-space: inherit; color: rgb(38, 38, 128); "><a style="text-decoration: none; color: blue; ">test</a></span>&nbsp;in the REPL will not run check forms declared in the definitions</span><span class="Apple-style-span" style="font-family: serif; background-color: rgb(255, 255, 255); font-size: medium; ">."</span></div></blockquote><div><br></div>An even better answer would be for "test" to WORK in the REPL. &nbsp;I hadn't noticed that it doesn't (although I haven't used test-engine/racket-tests very much). &nbsp;Can somebody who knows explain in small words why it doesn't?</div><div><br></div><div><br></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>Stephen Bloch</div><div><a href="mailto:sbloch@adelphi.edu">sbloch@adelphi.edu</a></div></span></div></body></html>