X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect_test.cpp;fp=dither_effect_test.cpp;h=8801aa0f94022697976462f44ef3fb2c84f139ac;hp=6fd46dbf402feba053183e16790157602dd91277;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hpb=0fa51e08f83e0283337216f5b951b3d5a8c0555b diff --git a/dither_effect_test.cpp b/dither_effect_test.cpp index 6fd46db..8801aa0 100644 --- a/dither_effect_test.cpp +++ b/dither_effect_test.cpp @@ -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