summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-01-26 18:03:11 +0000
committerTim King <taking@cs.nyu.edu>2010-01-26 18:03:11 +0000
commite8001c8b50945ee64fd79877643978ebcf83ffa8 (patch)
tree9c5c8542a7d003b09935cb96998fdbda21caf29d
parentaaecc4532bb39f7e5c35f6f11c6eb5962ad4016d (diff)
Undoing stupid commit mistake. Rolling back to -r 102 for test/unit/expr/node_black.h
-rw-r--r--test/unit/expr/node_black.h32
1 files changed, 4 insertions, 28 deletions
diff --git a/test/unit/expr/node_black.h b/test/unit/expr/node_black.h
index c5a2bb609..aa99c70c4 100644
--- a/test/unit/expr/node_black.h
+++ b/test/unit/expr/node_black.h
@@ -15,42 +15,18 @@
#include <cxxtest/TestSuite.h>
-#include "expr/node_manager.h"
#include "expr/node.h"
using namespace CVC4;
-using namespace std;
class NodeBlack : public CxxTest::TestSuite {
-private:
-
- NodeManagerScope *d_scope;
- NodeManager *d_nm;
-
public:
- void setUp() {
- d_nm = new NodeManager();
- d_scope = new NodeManagerScope(d_nm);
- }
-
- void tearDown(){
- delete d_nm;
- delete d_scope;
+ void testNull() {
+ Node::null();
}
- void testEqExpr(){
- /*Node eqExpr(const Node& right) const;*/
- Node left = d_nm->mkNode(TRUE);
- Node right = d_nm->mkNode(NOT,(d_nm->mkNode(FALSE)));
-
- Node eq = left.eqExpr(right);
-
- Node first = *(eq.begin());
- Node second = *(eq.begin()++);
-
- TS_ASSERT(first.getKind() == NULL);
- TS_ASSERT(second.getKind() == NULL);
+ void testCopyCtor() {
+ Node e(Node::null());
}
-
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback