summaryrefslogtreecommitdiff
path: root/test/unit/expr
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2009-11-20 23:47:56 +0000
committerMorgan Deters <mdeters@gmail.com>2009-11-20 23:47:56 +0000
commit95e5ca98d4c22897c0192a78ebeeb05e4838db2b (patch)
tree7bd14dc25a240bc2b4f5152c4ee7b666763dbebe /test/unit/expr
parentcb56555734b5139f779e65cc6e628124ac6796e6 (diff)
fixes to build/test system
Diffstat (limited to 'test/unit/expr')
-rw-r--r--test/unit/expr/expr_black.h19
-rw-r--r--test/unit/expr/expr_white.h19
2 files changed, 38 insertions, 0 deletions
diff --git a/test/unit/expr/expr_black.h b/test/unit/expr/expr_black.h
new file mode 100644
index 000000000..97746d1c4
--- /dev/null
+++ b/test/unit/expr/expr_black.h
@@ -0,0 +1,19 @@
+/* Black box testing of CVC4::Expr. */
+
+#include <cxxtest/TestSuite.h>
+
+#include "cvc4_expr.h"
+
+using namespace CVC4;
+
+class ExprBlack : public CxxTest::TestSuite {
+public:
+
+ void testNull() {
+ Expr::s_null;
+ }
+
+ void testCopyCtor() {
+ Expr e(Expr::s_null);
+ }
+};
diff --git a/test/unit/expr/expr_white.h b/test/unit/expr/expr_white.h
new file mode 100644
index 000000000..b6bfdd394
--- /dev/null
+++ b/test/unit/expr/expr_white.h
@@ -0,0 +1,19 @@
+/* White box testing of CVC4::Expr. */
+
+#include <cxxtest/TestSuite.h>
+
+#include "cvc4_expr.h"
+
+using namespace CVC4;
+
+class ExprWhite : public CxxTest::TestSuite {
+public:
+
+ void testNull() {
+ Expr::s_null;
+ }
+
+ void testCopyCtor() {
+ Expr e(Expr::s_null);
+ }
+};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback