<div>Hello Jerome,</div>
<div> </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! Also, I greatly appreciate the bounty of resources available within the Squeak community. The
<u>Squeak by Example</u> book and the FunSqueak image have recently provided me with some very beneficial information.</div>
<div> </div>
<div> 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 and their varying degrees of complexity.
</div>
<div> </div>
<div>Have a wonderful day.</div>
<div> </div>
<div>Regards,</div>
<div>Eric<br><br></div>
<div class="gmail_quote">On Dec 20, 2007 6:24 PM, Jerome Peace <<a href="mailto:peace_the_dreamer@yahoo.com">peace_the_dreamer@yahoo.com</a>> 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>>#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's
<br>really learning Squeak by Example!*<br><br>hth,<br><br>Yours in curiosity and service, --Jerome Peace<br><br>"There are no wrong answers only interesting results."<br> -<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't know<br>why my coding didn't work in both cases. Thanks for<br>the time. Have a good<br>day.<br><br>Regards,
<br><br>Eric Eisaman<br>"Scratch yourself into Squeaking."<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><peace_the_dreamer at <a href="http://yahoo.com/" target="_blank">yahoo.com</a>> wrote:<br><br>> TestFailure: Assertion failed in first practice from<br>> Squeak by Example<br>><br>> Hi Eric,<br>>
<br>> Check your white space.<br>><br>> There is a difference between 'oh no' and 'oh no '.<br>> While its hard for me to tell if this is your<br>problem<br>> it is a common difficulty. And it will be easy for
<br>you<br>> to eliminate it as a possibility.<br>><br>> Hth.<br>><br>> Yours incuriosity and service, --Jeorme Peace<br>><br>><br>> Eric Eisaman eric.eisaman at <a href="http://gmail.com/" target="_blank">
gmail.com</a><br>> Mon Dec 10 21:28:41 UTC 2007<br>><br>><br>> Yes, the shout method is defined in the String<br>object.<br>><br>> ***<br>> >Eric<br>> ><br>> >On Dec 11, 2007 7:09 AM, stephane ducasse
<br>> <stephane.ducasse at <a href="http://free.fr/" target="_blank">free.fr</a>> wrote:<br>> ><br>> >> Hi Eric<br>> >><br>> >> On 10 déc. 07, at 21:48, Eric Eisaman wrote:<br>> >>
<br>> >> > Hell Squeakers,<br>> >> ><br>> >> > At home I went through the first half of the<br>> Squeak by Example<br>> >> > book. The guided practice went without a hitch
<br>> however, when I<br>> >> > worked through the first practice of writing a<br>> simple String method<br>> >> > at work, on a different image, I ran into this<br>> problem. Why am I<br>
> >> > receiving an 'Assertion failed' message?<br>> >> ><br>> >> > testShout<br>> >> > self assert: ('oh no' shout = 'OH NO!')<br>> >> >
<br>> >><br>> >> where the shout method is defined?<br>> >> In String?<br>> >><br>> >> > shout<br>> >> > ^ self asUppercase , '!'<br>> >> ><br>
> >> > TestFailure: Assertion failed<br>> >> ><br>> >> > Regards,<br>> >> ><br>> >> > Eric Eisaman<br>> ***<br>
<div class="WgoR0d"><br><br><br> ____________________________________________________________________________________<br>Never miss a thing. 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>