mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-27 00:00:02 -04:00
Added raster write test
+ fixed a small issue for PAM
This commit is contained in:
+11
@@ -50,11 +50,22 @@ public class DDSImageWriterTest extends ImageWriterAbstractTest<DDSImageWriter>
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
void writeRasters() throws IOException {
|
||||
ImageWriter writer = createWriter();
|
||||
|
||||
assertTrue(writer.canWriteRasters());
|
||||
|
||||
// Full tests in super class
|
||||
}
|
||||
|
||||
@Test
|
||||
void writeMipmap() throws IOException {
|
||||
ImageWriter writer = createWriter();
|
||||
|
||||
try {
|
||||
assertTrue(writer.canWriteSequence());
|
||||
|
||||
List<BufferedImage> testData = getTestData();
|
||||
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
|
||||
int previousSize = 0;
|
||||
|
||||
Reference in New Issue
Block a user