X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=padding_effect_test.cpp;h=dd836ea066ee527dd6f5af3aaa6c4415eeebe28b;hp=c9c8ef1d7af1a0a9074697fb2d73f6d47ffe73e1;hb=refs%2Fheads%2Fepoxy;hpb=5c97329dd35909847e2120b0b368b2723ffe5a44 diff --git a/padding_effect_test.cpp b/padding_effect_test.cpp index c9c8ef1..dd836ea 100644 --- a/padding_effect_test.cpp +++ b/padding_effect_test.cpp @@ -1,5 +1,6 @@ // Unit tests for AlphaMultiplicationEffect. +#include #include #include "effect_chain.h" @@ -10,6 +11,8 @@ #include "test_util.h" #include "util.h" +namespace movit { + TEST(PaddingEffectTest, SimpleCenter) { float data[2 * 2] = { 1.0f, 0.5f, @@ -240,3 +243,5 @@ TEST(PaddingEffectTest, AlphaIsCorrectEvenWithNonLinearInputsAndOutputs) { tester.run(out_data, GL_RGBA, COLORSPACE_REC_601_625, GAMMA_REC_709, OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED); expect_equal(expected_data, out_data, 4, 4); } + +} // namespace movit