diff options
Diffstat (limited to 'test/unit/expr')
-rw-r--r-- | test/unit/expr/expr_black.h | 19 | ||||
-rw-r--r-- | test/unit/expr/expr_white.h | 19 |
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); + } +}; |