DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Macros
utlGTest.h File Reference
#include "gtest/gtest.h"
+ Include dependency graph for utlGTest.h:

Go to the source code of this file.

Macros

#define EXPECT_NEAR_COMPLEX(val1, val2, eps)   do { EXPECT_NEAR(std::abs(val1-val2), 0.0, eps) << "val1="<<val1 <<", val2=" <<val2; } while(0)
 
#define EXPECT_NEAR_MATRIX(mat1, mat2, Row, Col, eps)
 
#define EXPECT_NEAR_MATRIX_COMPLEX(mat1, mat2, Row, Col, eps)
 
#define EXPECT_NEAR_RELATIVE(val1, val2, eps)   do { EXPECT_NEAR(val1,val2, eps*std::fabs(val2)); } while (0)
 
#define EXPECT_NEAR_STDVECTOR(vec1, vec2, eps)
 
#define EXPECT_NEAR_UTLMATRIX(mat1, mat2, eps)
 
#define EXPECT_NEAR_UTLVECTOR(vec1, vec2, eps)
 
#define EXPECT_NEAR_VECTOR(vec1, vec2, N, eps)
 
#define EXPECT_NEAR_VECTOR_COMPLEX(vec1, vec2, N, eps)
 
#define EXPECT_NEAR_VNLMATRIX(mat1, mat2, eps)
 
#define EXPECT_NEAR_VNLVECTOR(vec1, vec2, eps)   EXPECT_NEAR_STDVECTOR(vec1,vec2,eps)
 

Detailed Description

Author
Dr. Jian Cheng (JC), jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om

Definition in file utlGTest.h.