X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect_test.cpp;h=8801aa0f94022697976462f44ef3fb2c84f139ac;hp=bdba1212c76eaca680e3eabe6763cc6831c1b140;hb=84ad3397a22ff0522fb4678f258656d882442209;hpb=e2962f03fe8fb0b1c47be56eca26761da97453a0 diff --git a/dither_effect_test.cpp b/dither_effect_test.cpp index bdba121..8801aa0 100644 --- a/dither_effect_test.cpp +++ b/dither_effect_test.cpp @@ -1,9 +1,14 @@ // Unit tests for DitherEffect. +#include #include -#include "test_util.h" +#include "effect_chain.h" #include "gtest/gtest.h" +#include "image_format.h" +#include "test_util.h" + +namespace movit { TEST(DitherEffectTest, NoDitherOnExactValues) { const int size = 4; @@ -52,3 +57,5 @@ TEST(DitherEffectTest, SinusoidBelowOneLevelComesThrough) { EXPECT_NEAR(amplitude, sum / (size * 255.0f), 1.1e-5); } + +} // namespace movit