Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #93188

Re: Doxygen

From Gareth Owen <gwowen@gmail.com>
Newsgroups comp.lang.c
Subject Re: Doxygen
References <e4f25064-cfc4-44e9-a762-d9c5905b6fd2@googlegroups.com> <nqf5l7$dvb$1@gioia.aioe.org> <e30qe9Fa6mtU1@mid.individual.net> <915306b7-deca-4742-b415-150327efce00@googlegroups.com>
Date 2016-09-04 09:05 +0100
Message-ID <87r3909jk8.fsf@gmail.com> (permalink)

Show all headers | View raw


Malcolm McLean <malcolm.mclean5@btinternet.com> writes:

>> With unit tests, you don't get to choose!
>> 
> How would you set up unit tests for the binary image processing library?
>
> The functions have been tested, of course, but generally I've done it
> by visual inspection of output.

I've done unit-tests on FPGA implementations of image-processing. Once
you've generated "golden" output files, you just need to check that your
conversions match them - either identity for lossless transformations,
or some RMS/Max-error criteria for lossy transformations (I think YUV
colorspace is better for these checks).  

It's imperfect, but it does catch most of your errors.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Doxygen Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-03 04:13 -0700
  Re: Doxygen Richard Heathfield <rjh@cpax.org.uk> - 2016-09-03 15:51 +0100
    Re: Doxygen David Brown <david.brown@hesbynett.no> - 2016-09-03 18:25 +0200
  Re: Doxygen Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-09-03 13:43 -0500
    Re: Doxygen Ian Collins <ian-news@hotmail.com> - 2016-09-04 08:34 +1200
      Re: Doxygen Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-03 18:10 -0700
        Re: Doxygen Ian Collins <ian-news@hotmail.com> - 2016-09-04 13:41 +1200
        Re: Doxygen Gareth Owen <gwowen@gmail.com> - 2016-09-04 09:05 +0100
      Re: Doxygen Tim Rentsch <txr@alumni.caltech.edu> - 2016-09-04 14:39 -0700
  Re: Doxygen jacobnavia <jacob@jacob.remcomp.fr> - 2016-09-05 00:25 +0200
    Re: Doxygen Gareth Owen <gwowen@gmail.com> - 2016-09-05 06:28 +0100
      Re: Doxygen Gareth Owen <gwowen@gmail.com> - 2016-09-05 07:00 +0100
    Re: Doxygen David Brown <david.brown@hesbynett.no> - 2016-09-05 09:07 +0200
      Re: Doxygen Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-05 00:26 -0700
        Re: Doxygen David Brown <david.brown@hesbynett.no> - 2016-09-05 10:51 +0200
  Doxygen "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-09-04 17:29 -0700

csiph-web