double has been disabled, because I am no longer packaging the gdtoa library with Ledger (because double conversion really has nothing to do with what Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006, under a sub-directory of the same name.
30 lines
530 B
C++
30 lines
530 B
C++
#ifndef _T_BALANCE_H
|
|
#define _T_BALANCE_H
|
|
|
|
#include "UnitTests.h"
|
|
|
|
class BalanceTestCase : public CPPUNIT_NS::TestCase
|
|
{
|
|
CPPUNIT_TEST_SUITE(BalanceTestCase);
|
|
|
|
CPPUNIT_TEST(testConstructors);
|
|
|
|
CPPUNIT_TEST_SUITE_END();
|
|
|
|
public:
|
|
ledger::session_t session;
|
|
|
|
BalanceTestCase() {}
|
|
virtual ~BalanceTestCase() {}
|
|
|
|
virtual void setUp();
|
|
virtual void tearDown();
|
|
|
|
void testConstructors();
|
|
|
|
private:
|
|
BalanceTestCase(const BalanceTestCase ©);
|
|
void operator=(const BalanceTestCase ©);
|
|
};
|
|
|
|
#endif // _T_BALANCE_H
|