Commit 91d73ce2 authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Remove tests raising exception

parent 71587406
Pipeline #30213 passed with stages
in 27 minutes and 4 seconds
......@@ -10,22 +10,6 @@
static const auto filename = fixtures::ImagePath::concat_with_filename("test.fit");
TEST(IO, cfitsio_not_an_image)
{
bool has_raised = false;
try
{
auto img = mln::io::fits::imread(filename, 0);
(void)img;
}
catch (std::runtime_error& e)
{
has_raised = true;
ASSERT_EQ(std::strcmp("Unhandled image number of dimension (Got 0, expected in [1 - 4])", e.what()), 0);
}
ASSERT_TRUE(has_raised);
}
TEST(IO, cfitsio_2D_uint8)
{
mln::image2d<std::uint8_t> ref = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment