summaryrefslogtreecommitdiff
path: root/test/unit/t_expr.cc
blob: 209bb9342d8f9581fc6d09f51f65e0a83be5082a (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
26
27
28
#include "t_expr.h"

#include "expr.h"

using namespace ledger;

CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ValueExprTestCase, "expr");

void ValueExprTestCase::setUp()
{
  amount_t::initialize();
#ifndef NOT_FOR_PYTHON
  expr_t::initialize();
#endif // NOT_FOR_PYTHON
}

void ValueExprTestCase::tearDown()
{
#ifndef NOT_FOR_PYTHON
  expr_t::shutdown();
#endif // NOT_FOR_PYTHON
  amount_t::shutdown();
}

void ValueExprTestCase::testConstructors()
{
  int x = 1;
}