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


Groups > comp.lang.c > #93188

Re: Doxygen

Path csiph.com!news.mixmin.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Sun, 04 Sep 2016 03:05:12 -0500
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 Sun, 04 Sep 2016 09:05:11 +0100
Message-ID <87r3909jk8.fsf@gmail.com> (permalink)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:2+c+cHnIAaJvRlsVDL+MeR5uASo=
MIME-Version 1.0
Content-Type text/plain
Lines 16
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-9k2Qt0QobN0QNTKCW0SEiOYNZKeM+4wOvjmWvKAbX+TvQvh0YggwEILN6LdkCLWNlK84Gr7NjswBoGU!USkvcnwISgh1FgwVIFCuinUZs+EVZTn4TGWbeVS+bjqPzEWMuy4Vulppd0hJIf0P
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1748
Xref csiph.com comp.lang.c:93188

Show key headers only | 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