From: Robert Dober Date: 2006-08-04T04:54:32+09:00 Subject: Re: Array#size empties the Array?? ------=_Part_94101_14577132.1154634869551 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/3/06, Sven Suska wrote: > > Robert Dober wrote: > > try not to replace the code, which is equivalent, and run your test > > twice > > with the same code. > > Cheers > > Robert > > Dear Robert, > > thank you for your quick reply. > > Although..., > being so quick may mean: > perhaps too little time to get the point > I was trying to make? ;-) I got 15 minutes (and used 2 to be honest). You say the code _is_ equivalent. > And I say the code _should_be_ equivalent. > I definitively found out, that it does not behave "equivalently". > > > You are suggesting to run my test twice. > What do you mean by "twice"? Hmm I think it is better to give hints instead of saying where the proble= m lies. Well I do not know where the problem lies, but what I meant was the following: code A code B equivilant, we think so we rite def test1 code A code A end def test2 code A code B end ... code B code B end I thaught it was a possibility to learn more about setup and teardown in your test classes. I very strongly believe that the problem is there but I wanted you to find out yourself. You take the credit, nobody takes the blame, see my strategy ;) Well now I have said it and I will take the blame if wrong. Believe me I have considered your post seriously and I could have said the same thing as all others ***more information*** and they are right to do so, but that'= s not my way.... Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_94101_14577132.1154634869551--