Clean up compiltaiton.
This commit is contained in:
parent
3c6756d7a1
commit
a19567508e
5 changed files with 18 additions and 12 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "File.h"
|
||||
#include "BitStream.h"
|
||||
#include "ByteUtils.h"
|
||||
#include "Grid.h"
|
||||
#include "ImagePrimitives.h"
|
||||
|
||||
#include "TestFramework.h"
|
||||
|
@ -26,7 +27,7 @@ TEST_CASE(TestCompressedPng, "image")
|
|||
data[idx] = val;
|
||||
}
|
||||
|
||||
dynamic_cast<ImageDataT<unsigned char>*>(image->getData())->setData(data);
|
||||
image->getGridT<unsigned char>()->setData(data);
|
||||
|
||||
PngWriter writer;
|
||||
writer.setPath(TestUtils::getTestOutputDir() / "test_compressed.png");
|
||||
|
@ -60,7 +61,7 @@ TEST_CASE(TestFixedPng, "image")
|
|||
data[idx] = val;
|
||||
}
|
||||
|
||||
dynamic_cast<ImageDataT<unsigned char>*>(image->getData())->setData(data);
|
||||
image->getGridT<unsigned char>()->setData(data);
|
||||
|
||||
PngWriter writer;
|
||||
writer.setPath(TestUtils::getTestOutputDir() / "test_fixed.png");
|
||||
|
@ -90,7 +91,7 @@ TEST_CASE(TestDynamicCompressedPng, "image")
|
|||
data[idx] = val;
|
||||
}
|
||||
|
||||
dynamic_cast<ImageDataT<unsigned char>*>(image->getData())->setData(data);
|
||||
image->getGridT<unsigned char>()->setData(data);
|
||||
|
||||
PngWriter writer;
|
||||
writer.setPath(TestUtils::getTestOutputDir() / "test_dynamic.png");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue