blob: 026b4eec470e6640ff42f883d2ad3b953ef85b82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "t_valexpr.h"
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ValueExprTestCase, "numerics");
void ValueExprTestCase::setUp()
{
ledger::set_session_context(&session);
// Cause the display precision for dollars to be initialized to 2.
amount_t x1("$1.00");
assertTrue(x1);
amount_t::stream_fullstrings = true; // make reports from UnitTests accurate
}
void ValueExprTestCase::tearDown()
{
amount_t::stream_fullstrings = false;
ledger::set_session_context();
}
void ValueExprTestCase::testConstructors()
{
}
|