generic_fixture.h File Reference

Go to the source code of this file.

Classes

class  generator_ptr< T >
 
class  abstract_generator< T >
 
class  standard_parameter_generator< T, Fixture >
 
class  iterator_parameter_generator< T, Fixture >
 
class  generator_ptr< T >
 
struct  generic_test_fixture< T >
 

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::unittest
 

Macros

#define INTEROP_ASSERT_NEAR(EXPECTED, ACTUAL, TOL)   ASSERT_TRUE(::illumina::interop::unittest::AreFloatsNear(EXPECTED, ACTUAL, TOL))
 
#define INTEROP_EXPECT_NEAR(EXPECTED, ACTUAL, TOL)   EXPECT_TRUE(::illumina::interop::unittest::AreFloatsNear(EXPECTED, ACTUAL, TOL))
 
#define INTEROP_EXPECT_ARRAY_NEAR(EXPECTED, ACTUAL, TOL)   EXPECT_TRUE(::illumina::interop::unittest::AreValuesNear(EXPECTED, ACTUAL, TOL))
 

Functions

template<class T >
generator_ptr< T > wrap (abstract_generator< T > *ptr)
 
bool is_float_near (const float expected, const float actual, const float tol)
 
inline::testing::AssertionResult AreFloatsNear (const float expected, const float actual, const float tol)
 
inline::testing::AssertionResult AreValuesNear (const std::vector< float > &expected, const std::vector< float > &actual, const float tol)
 

Detailed Description

Framework to generate fixtures from GTest Parameters

Date
8/10/16.
Version
1.0

Macro Definition Documentation

#define INTEROP_ASSERT_NEAR (   EXPECTED,
  ACTUAL,
  TOL 
)    ASSERT_TRUE(::illumina::interop::unittest::AreFloatsNear(EXPECTED, ACTUAL, TOL))
#define INTEROP_EXPECT_ARRAY_NEAR (   EXPECTED,
  ACTUAL,
  TOL 
)    EXPECT_TRUE(::illumina::interop::unittest::AreValuesNear(EXPECTED, ACTUAL, TOL))
#define INTEROP_EXPECT_NEAR (   EXPECTED,
  ACTUAL,
  TOL 
)    EXPECT_TRUE(::illumina::interop::unittest::AreFloatsNear(EXPECTED, ACTUAL, TOL))