1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Aina Niemetz |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS |
8 |
|
* in the top-level source directory and their institutional affiliations. |
9 |
|
* All rights reserved. See the file COPYING in the top-level source |
10 |
|
* directory for licensing information. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Header for context unit tests. |
14 |
|
*/ |
15 |
|
|
16 |
|
#ifndef CVC5__TEST__UNIT__TEST_CONTEXT_H |
17 |
|
#define CVC5__TEST__UNIT__TEST_CONTEXT_H |
18 |
|
|
19 |
|
#include "context/context.h" |
20 |
|
#include "test.h" |
21 |
|
|
22 |
|
namespace cvc5 { |
23 |
|
namespace test { |
24 |
|
|
25 |
88 |
class TestContext : public TestInternal |
26 |
|
{ |
27 |
|
protected: |
28 |
44 |
void SetUp() override { d_context.reset(new cvc5::context::Context()); } |
29 |
|
std::unique_ptr<cvc5::context::Context> d_context; |
30 |
|
}; |
31 |
|
|
32 |
|
} // namespace test |
33 |
|
} // namespace cvc5 |
34 |
|
#endif |