Re: Revision 417 -- tests are broke
- Posted by CChris <christian.cuvier at a??iculture.gouv.fr> May 08, 2008
- 659 views
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 > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> 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