diff options
author | Lode <lvandeve@gmail.com> | 2014-11-20 22:04:11 +0100 |
---|---|---|
committer | Lode <lvandeve@gmail.com> | 2014-11-20 22:04:11 +0100 |
commit | 244501ad3c23a00a004121ee99ca36eaf6b8abb4 (patch) | |
tree | 2dc952d351e0de81807f0111f4e59b1e0dc74ec3 /lodepng_unittest.cpp | |
parent | 0941f444db75ecf6394520399ac82e76d9bb5c54 (diff) |
small tweaks
Diffstat (limited to 'lodepng_unittest.cpp')
-rw-r--r-- | lodepng_unittest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lodepng_unittest.cpp b/lodepng_unittest.cpp index f2b1cf7..e3dbc10 100644 --- a/lodepng_unittest.cpp +++ b/lodepng_unittest.cpp @@ -1754,6 +1754,10 @@ void testAutoColorModels() std::vector<unsigned char> not16; addColor16(not16, 257, 257, 257, 0); testAutoColorModel(not16, 16, LCT_PALETTE, 1, false); + + std::vector<unsigned char> alpha16; + addColor16(alpha16, 257, 0, 0, 10000); + testAutoColorModel(alpha16, 16, LCT_RGBA, 16, false); } void doMain() |