[flac-dev] A patch for precompute_partition_info_sums_()

lvqcl
Tue, 26 May 2015 18:29:08 -0000

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".