Re: linfit with string time array (x) [message #63556 is a reply to message #63450] |
Tue, 11 November 2008 13:37  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
mgalloy@gmail.com schrieb:
> On Nov 11, 1:38 am, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
>> program by your own (or have been by others). A simple doctest example
>> in the code does help a lot. (idl has no unittest framework)
>
> Nothing part of IDL's library, but I do have a unit testing framework:
>
> http://michaelgalloy.com/2007/07/03/update-to-mgunit.html
>
> By the way, do you have an automated way to run the doctest examples
> you are talking about? I have thought about adding something like that
> to IDLdoc.
Not really. At the time I have written that tool for the catalog of the
library I have seen this part as documentation examples.
http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/idl_work_libraries.htm
While I am able to extract the examples, I can run them too. But
unfortuantely missed we to define how these examples should look like.
I mean a common syntax how they can be used for automated tests.
(Now I would do it similiar to python.)
One focus of the lib is a plotting environment. For this we use human
image comparison. For all the other functions we have lots of tests but
not for automated testing. I'll look in your framework.
Reimar
|
|
|