petdance/scratch — Issue #139: rewrite tests for resizableintegerarray as PIR, plus add new tests
Author: petdance
Created: 2011-11-14 06:06:57+00:00
State: open
Labels: patch, Pri-minor, Sev-low, testing

http://nopaste.snit.ch/18199
Also includes patch to make sure zero-fill always applies to new elements, although this behaviour could be debated. (IMO zero-fill belongs at the same semantic level as push, pop, shift and unshift. Since resizableintegerarray is (a) derived from fixedintegerarray and (b) does these other things, it seems to me a reasonable place to implement the zero-fill behaviour too.)

Originally http://trac.parrot.org/parrot/ticket/1089