EUforum Messages
- Powered by Euphoria -
Post Reply Previous Next All Messages
Date: Thu May 8 21:33
From: CChris <christian.cuvier at a??iculture.gouv.fr>
Subject: Re: Revision 417 -- tests are broke

Jeremy Cowgar wrote:
> 
> CChris wrote:
> > 
> > 
> > At revision 424:
> > All tests for sequence.e and search.e pass under Eu 3.1.1 .
> > 
> 
> stack.e still fails but the others are cleared up, yay! Thanks.
> 
> stack.e:
>   failed: FIFO dup(). expected: {1,30,20,10,10} but got: {1,30,30,20,10}
>   failed: FIFO pop() #1. expected: {1,30,20} but got: {1,30,30}
> 
> --
> Jeremy Cowgar
> http://jeremy.cowgar.com

As I mentioned earlier, it depends on whether dup() is supposed to duplicate
the last pushed value or the top(). I don't remember you replied to this.
The second failure is caused by the same issue, since the stack is not in the
expected shape.

CChris
PS: Looks like a test for the tests is needed :-)

 
Post Reply Previous Next All Messages