Applied namespace Leonetienne of Eule to tests
This commit is contained in:
parent
80dd70ba2d
commit
8b7e465f09
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests converting between color modes works
|
// Tests converting between color modes works
|
||||||
TEST_CASE(__FILE__"/Converting_between_color_modes_works", "[Conversion]")
|
TEST_CASE(__FILE__"/Converting_between_color_modes_works", "[Conversion]")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests that cropping produces the correct result
|
// Tests that cropping produces the correct result
|
||||||
TEST_CASE(__FILE__"/HappyPath", "[Cropping]")
|
TEST_CASE(__FILE__"/HappyPath", "[Cropping]")
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <Eule/Math.h>
|
#include <Eule/Math.h>
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
#define IMSIZE Vector2i(800, 600)
|
#define IMSIZE Vector2i(800, 600)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests the mirror horizontal function against reference images
|
// Tests the mirror horizontal function against reference images
|
||||||
TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][MirrorHorizontally]")
|
TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][MirrorHorizontally]")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests the mirror vertical function against reference images
|
// Tests the mirror vertical function against reference images
|
||||||
TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][MirrorVertically]")
|
TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][MirrorVertically]")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Don't have to test operator not equal, because it just returns the opposite of this
|
// Don't have to test operator not equal, because it just returns the opposite of this
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <Eule/Math.h>
|
#include <Eule/Math.h>
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
#define IMSIZE Vector2i(800, 600)
|
#define IMSIZE Vector2i(800, 600)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests that rotating works
|
// Tests that rotating works
|
||||||
TEST_CASE(__FILE__"/Rotating_produces_the_correct_results", "[Rotate]")
|
TEST_CASE(__FILE__"/Rotating_produces_the_correct_results", "[Rotate]")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests that swapping channels works
|
// Tests that swapping channels works
|
||||||
TEST_CASE(__FILE__"/SwappingChannelsWorks", "[SwapChannels]")
|
TEST_CASE(__FILE__"/SwappingChannelsWorks", "[SwapChannels]")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "Catch2.h"
|
#include "Catch2.h"
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
// Tests that get information or modifying on an uninitialized image results in a runtime error
|
// Tests that get information or modifying on an uninitialized image results in a runtime error
|
||||||
TEST_CASE(__FILE__"/RuntimeErrorOnUninitialized", "[Uninitialized]")
|
TEST_CASE(__FILE__"/RuntimeErrorOnUninitialized", "[Uninitialized]")
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <Eule/Math.h>
|
#include <Eule/Math.h>
|
||||||
|
|
||||||
using namespace Leonetienne::BmpPP;
|
using namespace Leonetienne::BmpPP;
|
||||||
using namespace Eule;
|
using namespace Leonetienne::Eule;
|
||||||
|
|
||||||
#define IMSIZE Vector2i(800, 600)
|
#define IMSIZE Vector2i(800, 600)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user