little tests refactoring

This commit is contained in:
BlackMATov
2020-11-30 18:14:19 +07:00
parent cce03b9f9e
commit 24708afaaf
12 changed files with 22 additions and 43 deletions

View File

@@ -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;