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