UnitTests: Fix includes
Former-commit-id: 17f0094da0788864bed8ba47ea19ff215797e06e
This commit is contained in:
parent
b56a454a40
commit
294894e8c1
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/ByteArray.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include <Nazara/Core/Clock.hpp>
|
||||
#include <catch.hpp>
|
||||
|
||||
#include <thread>
|
||||
#include <Nazara/Core/Thread.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Clock", "[CORE][CLOCK]")
|
||||
{
|
||||
|
|
@ -22,7 +21,7 @@ SCENARIO("Clock", "[CORE][CLOCK]")
|
|||
clock.Unpause();
|
||||
THEN("Time must not be the initialTime")
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(10));
|
||||
NzThread::Sleep(1);
|
||||
REQUIRE(clock.GetMicroseconds() != initialTime);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/Color.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Color", "[CORE][COLOR]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/Directory.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Directory", "[CORE][DIRECTORY]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/Error.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Error", "[CORE][ERROR]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/File.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("File", "[CORE][FILE]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/String.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("String", "[CORE][STRING]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Core/StringStream.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("StringStream", "[CORE][STRINGSTREAM]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Algorithm.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
TEST_CASE("Approach", "[MATH][ALGORITHM]" )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/BoundingVolume.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("BoundingVolume", "[MATH][BOUNDINGVOLUME]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Box.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Box", "[MATH][BOX]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/EulerAngles.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("EulerAngles", "[MATH][EULERANGLES]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Frustum.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Frustum", "[MATH][FRUSTUM]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Matrix4.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Matrix4", "[MATH][MATRIX4]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/OrientedBox.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("OrientedBox", "[MATH][ORIENTEDBOX]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Plane.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Plane", "[MATH][PLANE]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Quaternion.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Quaternion", "[MATH][QUATERNION]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Ray.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Ray", "[RAY]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Rect.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Rect", "[MATH][RECT]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Sphere.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
SCENARIO("Sphere", "[MATH][SPHERE]")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Vector2.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
#include <Nazara/Math/Vector4.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Vector3.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
#include <Nazara/Math/Vector4.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <Nazara/Math/Vector4.hpp>
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
||||
#include <Nazara/Math/Vector3.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
#define CATCH_CONFIG_MAIN
|
||||
#include <catch.hpp>
|
||||
#include <Catch/catch.hpp>
|
||||
|
|
|
|||
Loading…
Reference in New Issue