Help for this page

Select Code to Download


  1. or download this
    #   Failed test 'get pushed element'
    #   at t/2_mmArray.t line 251.
    ...
    #   at t/2_mmArray.t line 312.
    #          got: '-32'
    #     expected: '-16'
    
  2. or download this
    # test 106: push it back
    is (mm_array_push ($array, n2alpha(ARRAY_SIZE - 2)), ARRAY_SIZE - 1,
    ...
    # test 109
    is (mm_array_fetch ($array, ARRAY_SIZE - 2), n2alpha(ARRAY_SIZE - 2), 
        "get pushed element");