dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24175
Re: Dolfin test organization
-
To:
Anders Logg <logg@xxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Mon, 08 Aug 2011 18:00:29 -0400
-
Cc:
dolfin@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<20110808181121.GR3656@smaug>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
On 08/08/11 14:11, Anders Logg wrote:
> On Mon, Aug 08, 2011 at 07:26:24PM +0200, Martin Sandve Alnæs wrote:
>> Hi,
>> for example in
>> <dolfin>/test/unit/function/python/
>> there is two files
>> function.py
>> test.py
>> where the first one only contains a class Interpolate,
>> while the second contains the same class with fewer
>> functions plus a bunch of other classes.
>>
>> The same pattern of "foo.py" + "test.py" occurs other places as
>> well. At a glance it seems to me there is some duplication.
>>
>> Is there some idea behind this structure or is it a
>> remnant of some renaming/cleanup/whatever?
>
> It's a remnant and it would be good to decide on a structure to
> use and stick to that.
>
The aim is to have a foo.py for each foo.h file (when appropriate). As
mentioned, test.py is a remnant, although most tests are still in the
test.py files.
Garth
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References