Erik de Castro Lopo wrote:

> Is it possible to write a unit test for this functon?

I'm not a programmer, so I don't know how to make a proper unit test here.
And I don't know what to test. Because...

> I know we had a problem in this bit of code before.

...the problem was not in the code itself, but in "an assumption that
the average residual magnitude will not be more than "bps" bits".
_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to