Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
unitTestCommon.h File Reference
#include <catch2/catch_all.hpp>

Go to the source code of this file.

Classes

class  platformInitRunListener
 

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::Time
 

Macros

#define DVD_UNIT_TEST_COMMON_H
 
#define CHECK_TRUE(...)   CHECK( __VA_ARGS__ )
 
#define CHECK_EQUAL(LHS, RHS)   CHECK_TRUE(LHS == RHS)
 
#define CHECK_COMPARE(LHS, RHS)   CHECK_TRUE(COMPARE(LHS, RHS))
 
#define CHECK_NOT_EQUAL(LHS, RHS)   CHECK_FALSE(LHS == RHS)
 
#define CHECK_ZERO(X)   CHECK_TRUE(Divide::IS_ZERO(X))
 
#define CHECK_NOT_ZERO(X)   CHECK_FALSE(Divide::IS_ZERO(X))
 

Macro Definition Documentation

◆ CHECK_COMPARE

#define CHECK_COMPARE (   LHS,
  RHS 
)    CHECK_TRUE(COMPARE(LHS, RHS))

Definition at line 67 of file unitTestCommon.h.

◆ CHECK_EQUAL

#define CHECK_EQUAL (   LHS,
  RHS 
)    CHECK_TRUE(LHS == RHS)

Definition at line 63 of file unitTestCommon.h.

◆ CHECK_NOT_EQUAL

#define CHECK_NOT_EQUAL (   LHS,
  RHS 
)    CHECK_FALSE(LHS == RHS)

Definition at line 71 of file unitTestCommon.h.

◆ CHECK_NOT_ZERO

#define CHECK_NOT_ZERO (   X)    CHECK_FALSE(Divide::IS_ZERO(X))

Definition at line 79 of file unitTestCommon.h.

◆ CHECK_TRUE

#define CHECK_TRUE (   ...)    CHECK( __VA_ARGS__ )

Definition at line 59 of file unitTestCommon.h.

◆ CHECK_ZERO

#define CHECK_ZERO (   X)    CHECK_TRUE(Divide::IS_ZERO(X))

Definition at line 75 of file unitTestCommon.h.

◆ DVD_UNIT_TEST_COMMON_H

#define DVD_UNIT_TEST_COMMON_H

Definition at line 34 of file unitTestCommon.h.