[Insight-developers] Data for testing
Alexandre GOUAILLARD
hanfei at caltech.edu
Wed Jul 25 18:40:14 EDT 2007
Hi luis,
Yep it's small (1k).
Ok, that the last step.
I addressed a lot of cell interface API issues and added three tests.
I addressed the poor coverage of some iterators in QE and added the test,
I finished modifying the code for it to use VTKPolyDataReader.
I addressed the warnings and style issues from yesterday commit.
When I m done with the data, I'll make an experimental and I commit the
EulerOperators.
Should be done today.
Alex
On 7/25/07 3:36 PM, "Luis Ibanez" <luis.ibanez at kitware.com> wrote:
> Hi Alex,
>
>
> How big is the data ?
>
>
> If it is small (e.g. several Kb) we usually put it in
>
> Insight/Testing/Data/Input
>
> Then, in the CMakeLists.txt files of the Testing directories
> we define CMake variables that point to this directory.
>
> See for example, lines 17-18 of the CMakeLists.txt file in
> the directory
>
> Insight/Testing/Code/Review
>
> you will find:
>
>
> SET(BASELINE ${ITK_DATA_ROOT}/Baseline/Review)
> SET(INPUTDATA ${ITK_DATA_ROOT}/Input)
>
> Where ITK_DATA_ROOT has been set to the source directory
> of ITK : Insight/Testing/Data in line 30 of the CMakeLists.txt
> file of directory:
>
> Insight/Testing
>
> For an example on how you use the INPUTDATA symbol, look at
> lines 200-300 of the Insight/Testing/Code/Review/CMakeLists.txt
> file.
>
>
> Luis
>
>
>
> ----------------------------
> Alexandre GOUAILLARD wrote:
>> Hi all
>>
>> What is the right way to upload data for testing and call them from the
>> tests?
>>
>> Alex
>>
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers at itk.org
>> http://www.itk.org/mailman/listinfo/insight-developers
>>
More information about the Insight-developers
mailing list