X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect_test.cpp;h=210a2e721e999047357b212a177863005b9e1fbd;hp=6fd46dbf402feba053183e16790157602dd91277;hb=4f0f3a800365a9f928387ad108ac904af0a966e6;hpb=37f56fcbe571b2322243f6de59494bf9e0cbb37a diff --git a/dither_effect_test.cpp b/dither_effect_test.cpp index 6fd46db..210a2e7 100644 --- a/dither_effect_test.cpp +++ b/dither_effect_test.cpp @@ -1,6 +1,6 @@ // Unit tests for DitherEffect. -#include +#include #include #include "effect_chain.h" @@ -8,6 +8,8 @@ #include "image_format.h" #include "test_util.h" +namespace movit { + TEST(DitherEffectTest, NoDitherOnExactValues) { const int size = 4; @@ -55,3 +57,5 @@ TEST(DitherEffectTest, SinusoidBelowOneLevelComesThrough) { EXPECT_NEAR(amplitude, sum / (size * 255.0f), 1.1e-5); } + +} // namespace movit