]> git.sesse.net Git - movit/blobdiff - test_util.h
Prefix include guards with _MOVIT to avoid clashes with external files.
[movit] / test_util.h
index 1f48ae1eaffa1061973a2db7ad1287f0bd16c79c..10ecf9ff122a9461dd6e4e520db4f5c971d7f673 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _TEST_UTIL_H
-#define _TEST_UTIL_H 1
+#ifndef _MOVIT_TEST_UTIL_H
+#define _MOVIT_TEST_UTIL_H 1
 
 #include <GL/glew.h>
 #include "effect_chain.h"
 
 #include <GL/glew.h>
 #include "effect_chain.h"
@@ -34,4 +34,4 @@ private:
 void expect_equal(const float *ref, const float *result, unsigned width, unsigned height, float largest_difference_limit = 1.5 / 255.0, float rms_limit = 0.2 / 255.0);
 void expect_equal(const unsigned char *ref, const unsigned char *result, unsigned width, unsigned height, unsigned largest_difference_limit = 1, float rms_limit = 0.2);
 
 void expect_equal(const float *ref, const float *result, unsigned width, unsigned height, float largest_difference_limit = 1.5 / 255.0, float rms_limit = 0.2 / 255.0);
 void expect_equal(const unsigned char *ref, const unsigned char *result, unsigned width, unsigned height, unsigned largest_difference_limit = 1, float rms_limit = 0.2);
 
-#endif  // !defined(_TEST_UTIL_H)
+#endif  // !defined(_MOVIT_TEST_UTIL_H)