Skip to content

Commit 791d655

Browse files
committed
adds new operators test
1 parent 787d129 commit 791d655

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
if(BUILD_TESTING)
22
add_executable( expression_tree_test test.cpp )
33
add_test( expression_tree_test ${EXECUTABLE_OUTPUT_PATH}/expression_tree_test )
4+
5+
add_executable( operators_test operators.cpp )
6+
add_test( operators_test ${EXECUTABLE_OUTPUT_PATH}/operators_test )
47
endif()

tests/operators.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include <attwoodn/expression_tree.hpp>
2+
#include <cassert>
3+
4+
using namespace attwoodn::expression_tree;
5+
6+
int main(int argc, char** argv) {
7+
std::string hello = "hello world";
8+
9+
//assert(op::equals(hello, hello));
10+
11+
return EXIT_SUCCESS;
12+
}

0 commit comments

Comments
 (0)