Unit testing in Mathematica or Wolfram Workbench
- To: mathgroup at smc.vnet.net
- Subject: [mg80400] Unit testing in Mathematica or Wolfram Workbench
- From: "Andrew Moylan" <andrew.j.moylan at gmail.com>
- Date: Tue, 21 Aug 2007 05:05:46 -0400 (EDT)
I want to set up unit tests for a numerical algorithm. I'd like to test the
timing of the algorithm (and consider 1.00 seconds and 1.02 seconds as the
same, etc) and the numerical result (and consider 5.6000000000 and
5.6000000002 to be the same result, etc).
1. Is the testing system in Wolfram Workbench adequate for this purpose? Can
it do the kind of "fuzzy" comparisons I sometimes require? I can't find much
documentation on this testing system beyond the screencast at
and the small amount of written how-to type information in the Workbench
help. Can someone point me to more documentation?
2. Is there an existing add-on package that is good for this purpose?
3. What does Wolfram use internally for unit testing of Mathematica code?
Prev by Date:
Redefine Arg to return a value from 0 to 2 pi
Next by Date:
Re: Missing information in Mathematica 6.0 Documentation
Previous by thread:
Re: Re: Redefine Arg to return a value from 0 to 2 pi
Next by thread:
Re: Unit testing in Mathematica or Wolfram Workbench