petdance/scratch — Issue #139: rewrite tests for resizableintegerarray as PIR, plus add new tests
Author: petdance
Created: 2011-11-01 04:24:59+00:00
State: open

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.)