<div>Hello Jerome,</div>
<div>&nbsp;</div>
<div>Thanks for the suggestion to Debug a little deeper. I will do that. I have since created numerous other methods with tests and received encouraging working results. Yey!&nbsp; Also, I greatly appreciate the&nbsp;bounty of&nbsp;resources available within the Squeak community. The 
<u>Squeak by Example</u> book and the&nbsp;FunSqueak image have recently&nbsp;provided me with some very beneficial information.</div>
<div>&nbsp;</div>
<div>&nbsp;By next year I intend to have all my physics students traversing from Scratch to Etoys to Morphic and beyond. I first need to develop the appropriate physics simulations to be carried out and cross articulated among these various environments&nbsp;and their varying degrees of complexity.
</div>
<div>&nbsp;</div>
<div>Have a wonderful day.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Eric<br><br></div>
<div class="gmail_quote">On Dec 20, 2007 6:24 PM, Jerome Peace &lt;<a href="mailto:peace_the_dreamer@yahoo.com">peace_the_dreamer@yahoo.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">[Newbies] TestFailure: Assertion failed in first<br>practice from Squeak by Example<br><br>Hi Eric,<br><br>
You have and interesting one here. I tried your<br>example in both sq 7159 (3.10 basic) and in damiens sq<br>dev (sqdev7154-07.11.1) i.e the november version based<br>on sq 7154 basic. In both of those images the example<br>
worked as the book said it would.<br><br>So either you have found an obscure bug in an obscure<br>version or have made a typing error in the one you<br>tried. (If it were me I would suspect a typo but then<br>I have always been a creative typer. ;-)
<br><br>Of course the fun thing to do with an error is learn<br>how the debugger works.<br><br>Open the debugger (from the test runner click on the<br>failed method testShout that will get the<br>pre-debugger. click on debug. select the line with
<br>StringTest&gt;&gt;#testShout in it and play with it trying<br>to find a way to pinpoint the exact error. If you are<br>open to what you see, you are bound to learn something<br>that will increase your squeaking skills. Now that&#39;s
<br>really learning Squeak by Example!*<br><br>hth,<br><br>Yours in curiosity and service, --Jerome Peace<br><br>&quot;There are no wrong answers only interesting results.&quot;<br>&nbsp;-<br>Seymour Papert (somewhat folk processed). I learned it
<br>while learning Logo.<br><br>Eric Eisaman eric.eisaman at <a href="http://gmail.com/" target="_blank">gmail.com</a><br>Tue Dec 11 20:38:18 UTC 2007<br><br>Hello Jerome,<br><br>I checked the white space and it was the same. I went
<br>and created numerous<br>other String methods basically invoking existing<br>methods and every test run<br>seems to yield a signal failure causing the assertion<br>to fail. I moved from<br>the Cassou Dev Image to the OLPC Etoys Dev Image and
<br>made several of my own<br>String methods and respective tests which all ran<br>successfully. I don&#39;t know<br>why my coding didn&#39;t work in both cases. Thanks for<br>the time. Have a good<br>day.<br><br>Regards,
<br><br>Eric Eisaman<br>&quot;Scratch yourself into Squeaking.&quot;<br><a href="http://scratch.mit.edu/users/eisaman" target="_blank">http://scratch.mit.edu/users/eisaman</a><br><br><br><br>On Dec 12, 2007 4:46 AM, Jerome Peace
<br>&lt;peace_the_dreamer at <a href="http://yahoo.com/" target="_blank">yahoo.com</a>&gt; wrote:<br><br>&gt; TestFailure: Assertion failed in first practice from<br>&gt; Squeak by Example<br>&gt;<br>&gt; Hi Eric,<br>&gt;
<br>&gt; Check your white space.<br>&gt;<br>&gt; There is a difference between &#39;oh no&#39; and &#39;oh no &#39;.<br>&gt; While its hard for me to tell if this is your<br>problem<br>&gt; it is a common difficulty. And it will be easy for
<br>you<br>&gt; to eliminate it as a possibility.<br>&gt;<br>&gt; Hth.<br>&gt;<br>&gt; Yours incuriosity and service, --Jeorme Peace<br>&gt;<br>&gt;<br>&gt; Eric Eisaman eric.eisaman at <a href="http://gmail.com/" target="_blank">
gmail.com</a><br>&gt; Mon Dec 10 21:28:41 UTC 2007<br>&gt;<br>&gt;<br>&gt; Yes, the shout method is defined in the String<br>object.<br>&gt;<br>&gt; ***<br>&gt; &gt;Eric<br>&gt; &gt;<br>&gt; &gt;On Dec 11, 2007 7:09 AM, stephane ducasse
<br>&gt; &lt;stephane.ducasse at <a href="http://free.fr/" target="_blank">free.fr</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;&gt; Hi Eric<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; On 10 déc. 07, at 21:48, Eric Eisaman wrote:<br>&gt; &gt;&gt;
<br>&gt; &gt;&gt; &gt; Hell Squeakers,<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; At home I went through the first half of the<br>&gt; Squeak by Example<br>&gt; &gt;&gt; &gt; book. The guided practice went without a hitch
<br>&gt; however, when I<br>&gt; &gt;&gt; &gt; worked through the first practice of writing a<br>&gt; simple String method<br>&gt; &gt;&gt; &gt; at work, on a different image, I ran into this<br>&gt; problem. Why am I<br>
&gt; &gt;&gt; &gt; receiving an &#39;Assertion failed&#39; message?<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; testShout<br>&gt; &gt;&gt; &gt; &nbsp;self assert: (&#39;oh no&#39; shout = &#39;OH NO!&#39;)<br>&gt; &gt;&gt; &gt;
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; where the shout method is defined?<br>&gt; &gt;&gt; In String?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt; shout<br>&gt; &gt;&gt; &gt; &nbsp;^ self asUppercase , &#39;!&#39;<br>&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; TestFailure: Assertion failed<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Regards,<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Eric Eisaman<br>&gt; ***<br>
<div class="WgoR0d"><br><br><br>&nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>Never miss a thing. &nbsp;Make Yahoo your home page.<br><a href="http://www.yahoo.com/r/hs" target="_blank">
http://www.yahoo.com/r/hs</a><br>_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">
http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br></div></blockquote></div><br>