Commit bbb8a6c3 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Float range testing. Test code

parent 7998716f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -718,6 +718,17 @@ ivas_error ivas_jbm_dec_tc(

    st_ivas->last_ivas_format = st_ivas->ivas_format;

    int checkpoint = 0;
    for ( int i = 0; i < nchan_out; ++i )
    {
        for ( int j = 0; j < output_frame; ++j )
        {
            if ( p_output[i][j] > MAX16B_FLT || p_output[i][j] < MIN16B_FLT )
            {
                assert( checkpoint );
            }
        }
    }

    pop_wmops();
    return IVAS_ERR_OK;