namespace test {
-class TestNodeBlackNodeAlgorithm : public TestNodeBlack
+class TestNodeBlackNodeAlgorithm : public TestNode
{
};
}
} // namespace
-class TestNodeBlackNode : public TestNodeBlack
+class TestNodeBlackNode : public TestNode
{
protected:
void SetUp() override
{
- TestNodeBlack::SetUp();
+ TestNode::SetUp();
// setup an SMT engine so that options are in scope
Options opts;
char* argv[2];
namespace test {
-class TestNodeBlackNodeBuilder : public TestNodeBlack
+class TestNodeBlackNodeBuilder : public TestNode
{
protected:
template <unsigned N>
namespace test {
-class TestNodeBlackNodeManager : public TestNodeBlack
+class TestNodeBlackNodeManager : public TestNode
{
};
namespace test {
-class TestNodeWhiteNodeManager : public TestNodeWhite
+class TestNodeWhiteNodeManager : public TestNode
{
};
namespace test {
-class TestNodeBlackNodeSelfIterator : public TestNodeBlack
+class TestNodeBlackNodeSelfIterator : public TestNode
{
};
namespace test {
-class TestNodeBlackNodeTraversalPostorder : public TestNodeBlack
+class TestNodeBlackNodeTraversalPostorder : public TestNode
{
};
-class TestNodeBlackNodeTraversalPreorder : public TestNodeBlack
+class TestNodeBlackNodeTraversalPreorder : public TestNode
{
};
namespace test {
-class TestNodeWhiteNode : public TestNodeWhite
+class TestNodeWhiteNode : public TestNode
{
};
namespace test {
-class TestNodeWhiteTypeNode : public TestNodeWhite
+class TestNodeWhiteTypeNode : public TestNode
{
protected:
void SetUp() override
{
- TestNodeWhite::SetUp();
+ TestNode::SetUp();
d_smt.reset(new SmtEngine(d_nodeManager.get()));
}
std::unique_ptr<SmtEngine> d_smt;
namespace CVC4 {
namespace test {
-class TestNodeBlack : public TestInternal
+class TestNode : public TestInternal
{
protected:
void SetUp() override
std::unique_ptr<TypeNode> d_realTypeNode;
};
-class TestNodeWhite : public TestInternal
-{
- protected:
- void SetUp() override
- {
- d_nodeManager.reset(new NodeManager(nullptr));
- d_scope.reset(new NodeManagerScope(d_nodeManager.get()));
- }
-
- std::unique_ptr<NodeManagerScope> d_scope;
- std::unique_ptr<NodeManager> d_nodeManager;
-};
} // namespace test
} // namespace CVC4
#endif