Classes | Macros | Functions
testReader.cc File Reference
#include <cppunit/extensions/HelperMacros.h>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <cmath>
#include <boost/lexical_cast.hpp>
#include <utl/Reader.h>
#include <utl/ReaderErrorReporter.h>
#include <utl/AugerUnits.h>
#include <utl/TimeStamp.h>
#include <utl/TabulatedFunction.h>
#include <utl/Function.h>
#include <utl/UTCDateTime.h>
#include <utl/ErrorLogger.h>
#include <utl/AugerException.h>
#include <tst/Verify.h>

Go to the source code of this file.

Classes

class  ReaderTest
 

Macros

#define ASSERT_CLOSE(x, y)   CPPUNIT_ASSERT(Verify<CloseTo>(x, y))
 
#define ASSERT_CLOSEEPS(x, y, eps)   CPPUNIT_ASSERT(Verify<CloseTo>(x, y, eps))
 
#define ASSERT_EQUAL(x, y)   CPPUNIT_ASSERT(Verify<Equal>(x, y))
 
#define ASSERT_NOTEQUAL(x, y)   CPPUNIT_ASSERT(Verify<Not<Equal> >(x, y))
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (ReaderTest)
 

Detailed Description

cpp-unit implementation to test the Reader

Author
Javier Gonzalez
Date
23 Aug 2004

Definition in file testReader.cc.

Macro Definition Documentation

#define ASSERT_CLOSE (   x,
 
)    CPPUNIT_ASSERT(Verify<CloseTo>(x, y))
#define ASSERT_CLOSEEPS (   x,
  y,
  eps 
)    CPPUNIT_ASSERT(Verify<CloseTo>(x, y, eps))

Definition at line 39 of file testReader.cc.

Referenced by ReaderTest::testAttributes().

#define ASSERT_EQUAL (   x,
 
)    CPPUNIT_ASSERT(Verify<Equal>(x, y))
#define ASSERT_NOTEQUAL (   x,
 
)    CPPUNIT_ASSERT(Verify<Not<Equal> >(x, y))

Definition at line 37 of file testReader.cc.

Function Documentation

CPPUNIT_TEST_SUITE_REGISTRATION ( ReaderTest  )

, generated on Tue Sep 26 2023.