mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-16 14:11:28 +07:00
little tests refactoring
This commit is contained in:
@@ -4,22 +4,10 @@
|
||||
* Copyright (C) 2020, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#include <vmath.hpp/vmath_vec.hpp>
|
||||
#include <vmath.hpp/vmath_vec_fun.hpp>
|
||||
|
||||
#include <vmath.hpp/vmath_mat.hpp>
|
||||
#include <vmath.hpp/vmath_mat_fun.hpp>
|
||||
#include <vmath.hpp/vmath.hpp>
|
||||
|
||||
#include <cfloat>
|
||||
|
||||
#define STATIC_REQUIRE(...)\
|
||||
static_assert(__VA_ARGS__, #__VA_ARGS__);\
|
||||
REQUIRE(__VA_ARGS__);
|
||||
|
||||
#define STATIC_REQUIRE_FALSE(...)\
|
||||
static_assert(!(__VA_ARGS__), "!(" #__VA_ARGS__ ")");\
|
||||
REQUIRE(!(__VA_ARGS__));
|
||||
|
||||
namespace vmath_tests
|
||||
{
|
||||
using namespace vmath_hpp;
|
||||
|
||||
Reference in New Issue
Block a user