Lines Matching refs:test_failed

70    if(packet==NULL)test_failed();  in test_decoder_code0()
83 if(err!=OPUS_OK || dec[t]==NULL)test_failed(); in test_decoder_code0()
89 if(dec2==NULL)test_failed(); in test_decoder_code0()
100 if(decbak==NULL)test_failed(); in test_decoder_code0()
110 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
111 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
112 if(dur!=120/factor)test_failed(); in test_decoder_code0()
116 if(out_samples!=OPUS_BAD_ARG)test_failed(); in test_decoder_code0()
120 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
122 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
124 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
126 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
127 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
128 if(dur!=120/factor)test_failed(); in test_decoder_code0()
132 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
137 if(out_samples>0)test_failed(); in test_decoder_code0()
146 if(out_samples>0)test_failed(); in test_decoder_code0()
147 if(outbuf[0]!=32749)test_failed(); in test_decoder_code0()
151 if(out_samples>=0)test_failed(); in test_decoder_code0()
153 if(out_samples>=0)test_failed(); in test_decoder_code0()
155 if(out_samples>=0)test_failed(); in test_decoder_code0()
159 if(out_samples>=0)test_failed(); in test_decoder_code0()
162 if(opus_decoder_ctl(dec[t], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_decoder_code0()
176 if(err!=(i&1)+1)test_failed(); in test_decoder_code0()
180 if(expected[t]>2880)test_failed(); in test_decoder_code0()
189 if(out_samples!=expected[t])test_failed(); in test_decoder_code0()
190 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
191 if(dur!=out_samples)test_failed(); in test_decoder_code0()
194 else if(dec_final_range1!=dec_final_range2)test_failed(); in test_decoder_code0()
204 if(out_samples!=expected[t])test_failed(); in test_decoder_code0()
205 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
206 if(dur!=out_samples)test_failed(); in test_decoder_code0()
213 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
214 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
215 if(dur!=out_samples)test_failed(); in test_decoder_code0()
218 if(out_samples>0)test_failed(); in test_decoder_code0()
233 if(err)test_failed(); in test_decoder_code0()
260 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
264 if(dec_final_acc!=cres[mode])test_failed(); in test_decoder_code0()
278 if(out_samples!=480/factor)test_failed(); in test_decoder_code0()
282 if(dec_final_acc!=lres[mode])test_failed(); in test_decoder_code0()
299 if(out_samples!=expected[t])test_failed(); in test_decoder_code0()
302 else if(dec_final_range1!=dec_final_range2)test_failed(); in test_decoder_code0()
317 if(opus_decode(decbak, packet, plen+1, outbuf, expected[0], 1)!=expected[0])test_failed(); in test_decoder_code0()
319 if(opus_decode(decbak, 0, 0, outbuf, MAX_FRAME_SAMP, 1)<20)test_failed(); in test_decoder_code0()
321 if(opus_decode(decbak, 0, 0, outbuf, MAX_FRAME_SAMP, 0)<20)test_failed(); in test_decoder_code0()
326 if(out_samples!=expected[t])test_failed(); in test_decoder_code0()
328 else if(dec_final_range1!=dec_final_range2)test_failed(); in test_decoder_code0()
329 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
330 if(dur!=out_samples)test_failed(); in test_decoder_code0()
346 if(out_samples!=expected)test_failed(); in test_decoder_code0()
364 if(out_samples!=tret[i])test_failed(); in test_decoder_code0()
376 if(err)test_failed(); in test_decoder_code0()
399 if(x[j]>1.f)test_failed(); in test_soft_clip()
400 if(x[j]<-1.f)test_failed(); in test_soft_clip()
412 if(x[j]>1.f)test_failed(); in test_soft_clip()
413 if(x[j]<-1.f)test_failed(); in test_soft_clip()
450 if(!oversion)test_failed(); in main()