]> git.sesse.net Git - movit/blobdiff - dither_effect_test.cpp
Move private libs into Libs.private in the pkg-config file.
[movit] / dither_effect_test.cpp
index bdba1212c76eaca680e3eabe6763cc6831c1b140..8801aa0f94022697976462f44ef3fb2c84f139ac 100644 (file)
@@ -1,9 +1,14 @@
 // Unit tests for DitherEffect.
 
+#include <GL/glew.h>
 #include <math.h>
 
-#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