Classes | Macros | Functions
testHistogram.cc File Reference
#include <iostream>
#include <utl/Histogram.h>
#include <utl/CountedObject.h>
#include <utl/CountedObjectRegistry.h>
#include <tst/Verify.h>
#include <cppunit/extensions/HelperMacros.h>

Go to the source code of this file.

Classes

class  HistogramTest
 

Macros

#define ASSERT_CLOSE(x, y)   CPPUNIT_ASSERT(Verify<CloseTo>(x, y))
 
#define ASSERT_EQUAL(x, y)   CPPUNIT_ASSERT(Verify<Equal>(x, y))
 
#define ASSERT_EXTENDED_OBJECT_COUNTS(o, c, d, cp, a)
 
#define ASSERT_OBJECT_COUNTS(o, c, d)
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (HistogramTest)
 

Detailed Description

Test Histogram class

Author
Darko Veberic
Date
15 Mar 2007

Definition in file testHistogram.cc.

Macro Definition Documentation

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

Definition at line 22 of file testHistogram.cc.

Referenced by HistogramTest::testVariableBinning().

#define ASSERT_EQUAL (   x,
 
)    CPPUNIT_ASSERT(Verify<Equal>(x, y))
#define ASSERT_EXTENDED_OBJECT_COUNTS (   o,
  c,
  d,
  cp,
 
)
Value:
#define ASSERT_EQUAL(x, y)
#define ASSERT_OBJECT_COUNTS(o, c, d)
Mix-in class for counting creation and destruction of objects.
Definition: CountedObject.h:30

Definition at line 28 of file testHistogram.cc.

#define ASSERT_OBJECT_COUNTS (   o,
  c,
 
)
Value:
#define ASSERT_EQUAL(x, y)
Mix-in class for counting creation and destruction of objects.
Definition: CountedObject.h:30

Definition at line 24 of file testHistogram.cc.

Function Documentation

CPPUNIT_TEST_SUITE_REGISTRATION ( HistogramTest  )

, generated on Tue Sep 26 2023.