petdance/scratch — Issue #815: rewrite tests for resizableintegerarray as PIR, plus add new tests
Author: petdance
Created: 2011-11-01 05:36:59+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.)
Trac ID #1089