Assimp  v3.1.1 (June 2014)
utFastAtof.cpp File Reference

Classes

struct  FastAtodWrapper
 
class  FastAtofTest
 
struct  FastAtofWrapper
 

Macros

#define TEST_CASE(NUM)   EXPECT_NEAR(static_cast<Real>(NUM), atof_func(#NUM), kEps)
 
#define TEST_CASE_INF(NUM)   EXPECT_TRUE(IsInf(atof_func(#NUM)))
 
#define TEST_CASE_NAN(NUM)   EXPECT_TRUE(IsNan(atof_func(#NUM)))
 

Functions

 TEST_F (FastAtofTest, FastAtof)
 
 TEST_F (FastAtofTest, FastAtod)
 

Macro Definition Documentation

§ TEST_CASE

#define TEST_CASE (   NUM)    EXPECT_NEAR(static_cast<Real>(NUM), atof_func(#NUM), kEps)

§ TEST_CASE_INF

#define TEST_CASE_INF (   NUM)    EXPECT_TRUE(IsInf(atof_func(#NUM)))

§ TEST_CASE_NAN

#define TEST_CASE_NAN (   NUM)    EXPECT_TRUE(IsNan(atof_func(#NUM)))

Function Documentation

§ TEST_F() [1/2]

TEST_F ( FastAtofTest  ,
FastAtof   
)

§ TEST_F() [2/2]

TEST_F ( FastAtofTest  ,
FastAtod   
)