User Manual, Developers Guide and API Documentation

CppUnit.hpp File Reference

#include <WNS/TestFixture.hpp>
#include <WNS/evaluation/statistics/moments.hpp>
#include <WNS/PowerRatio.hpp>
#include <WNS/Conversion.hpp>

Include dependency graph for CppUnit.hpp:

Go to the source code of this file.

Namespaces

namespace  wns

Defines

#define WNS_ASSERT_MEAN_VALUE(expected, generator, maxTrials)   wns::assertMeanValue((expected), (generator), (maxTrials),__FILE__, wns::to<std::string>(__LINE__))

Functions

void wns::assertMaxRelError (const Ratio &expected, const Ratio &actual, double maxRelativeError, const std::string sourceFile, const std::string sourceLine)
 Specialized version for Ratio.
void wns::assertMaxRelError (const Power &expected, const Power &actual, double maxRelativeError, const std::string sourceFile, const std::string sourceLine)
 Specialized version for Power.
template<class SAMPLEGENERATOR>
void wns::assertMeanValue (double expected, SAMPLEGENERATOR &sampleGenerator, unsigned long int maxTrials, const std::string sourceFile, const std::string sourceLine)


Define Documentation

#define WNS_ASSERT_MEAN_VALUE ( expected,
generator,
maxTrials   )     wns::assertMeanValue((expected), (generator), (maxTrials),__FILE__, wns::to<std::string>(__LINE__))

Definition at line 125 of file CppUnit.hpp.


Generated on Tue May 22 03:32:16 2012 for openWNS by  doxygen 1.5.5