# Failed test 'get pushed element' # at t/2_mmArray.t line 251. # got: '*main::mm_array_push' # expected: 'eb' # Failed test 'avail mem after push should == before pop' # at t/2_mmArray.t line 260. # got: '7544' # expected: '7560' # Failed test 'check first unshifted value' # at t/2_mmArray.t line 299. # got: '' # expected: '2009' # Failed test 'check 2nd unshifted value' # at t/2_mmArray.t line 303. # got: '*main::mm_array_unshift' # expected: '' # Failed test 'effect of unshifting (0-length value, normal value) on avail mem' # at t/2_mmArray.t line 312. # got: '-32' # expected: '-16' #### # test 106: push it back is (mm_array_push ($array, n2alpha(ARRAY_SIZE - 2)), ARRAY_SIZE - 1, "push should return array size"); # test 107 ($size, $shiftCount) = mm_array_status ($array); is ($size, ARRAY_SIZE - 1, "push should increase array size by 1"); # test 108 is ($shiftCount, 0, "push should not affect shift count"); # test 109 is (mm_array_fetch ($array, ARRAY_SIZE - 2), n2alpha(ARRAY_SIZE - 2), "get pushed element");