DIPlib / diplib

Quantitative Image Analysis in C++, MATLAB and Python
https://diplib.org
Apache License 2.0
223 stars 49 forks source link

Implementing DIPimage tests from DIPlib 2 #100

Closed ronligt closed 1 week ago

ronligt commented 2 years ago

I've found the version 2 DIPimage tests. I can put these tests in dipimage/tests/archive. We can check later if and how we can reuse these tests. Okay?

crisluengo commented 2 years ago

Sounds good to me!

ronligt commented 2 years ago

Files have been added.

crisluengo commented 2 years ago

@ronligt Congratulations on issue number 100!!!

crisluengo commented 1 week ago

5f4346d1b0c7a71171432ee4b8fe8805a6a544ce

crisluengo commented 1 week ago

This is far from a complete test suite, but it will verify that the toolbox in general runs, and will test a few basic stuff thoroughly. But the second half of filtering.m just runs a bunch of filter functions, it doesn't verify their outputs in any way.

The most important thing to add here, at some point, is tests for the MATLAB code in DIPimage, and tests for the glue between MATLAB and DIPlib. Whether the filters produce the right results is something that should be tested in the DIPlib test suite (which also still has lots of gaps).