X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect_test.cpp;h=210a2e721e999047357b212a177863005b9e1fbd;hp=bdba1212c76eaca680e3eabe6763cc6831c1b140;hb=9e219b96e914b2e5709ba3c3345afdc3cf13a78d;hpb=e2962f03fe8fb0b1c47be56eca26761da97453a0 diff --git a/dither_effect_test.cpp b/dither_effect_test.cpp index bdba121..210a2e7 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