Skip to content

Commit

Permalink
adding executor files to project
Browse files Browse the repository at this point in the history
  • Loading branch information
castrod committed Feb 21, 2024
1 parent df45728 commit 40970ef
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set(TAU_HEADERS
satisfiability.h
tau.h
iterators.h
executor.h
)

set(TAU_SOURCES
Expand Down
19 changes: 19 additions & 0 deletions src/executor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// LICENSE
// This software is free for use and redistribution while including this
// license notice, unless:
// 1. is used for commercial or non-personal purposes, or
// 2. used for a product which includes or associated with a blockchain or other
// decentralized database technology, or
// 3. used for a product which includes or associated with the issuance or use
// of cryptographic or electronic currencies/coins/tokens.
// On all of the mentioned cases, an explicit and written permission is required
// from the Author (Ohad Asor).
// Contact ohad@idni.org for requesting a permission. This license may be
// modified over time by the Author.

#ifdef __EXECUTOR_H__
#define __EXECUTOR_H__



# endif //__EXECUTOR_H__
1 change: 1 addition & 0 deletions tests/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(TESTS
test_integration-nso_rr_execution
test_integration-gssotc_rr_execution
test_integration-tau1
test_integration-executor
)

foreach(N IN LISTS TESTS)
Expand Down
24 changes: 24 additions & 0 deletions tests/integration/test_integration-executor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// LICENSE
// This software is free for use and redistribution while including this
// license notice, unless:
// 1. is used for commercial or non-personal purposes, or
// 2. used for a product which includes or associated with a blockchain or other
// decentralized database technology, or
// 3. used for a product which includes or associated with the issuance or use
// of cryptographic or electronic currencies/coins/tokens.
// On all of the mentioned cases, an explicit and written permission is required
// from the Author (Ohad Asor).
// Contact ohad@idni.org for requesting a permission. This license may be
// modified over time by the Author.

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include "../../src/doctest.h"
#include "../../src/executor.h"

TEST_SUITE("executor") {

TEST_CASE("executor") {
CHECK( true );
}
}
1 change: 1 addition & 0 deletions tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ set(TESTS
traversal
tau
satisfiability
executor
)

foreach(X IN LISTS TESTS)
Expand Down
24 changes: 24 additions & 0 deletions tests/unit/test_executor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// LICENSE
// This software is free for use and redistribution while including this
// license notice, unless:
// 1. is used for commercial or non-personal purposes, or
// 2. used for a product which includes or associated with a blockchain or other
// decentralized database technology, or
// 3. used for a product which includes or associated with the issuance or use
// of cryptographic or electronic currencies/coins/tokens.
// On all of the mentioned cases, an explicit and written permission is required
// from the Author (Ohad Asor).
// Contact ohad@idni.org for requesting a permission. This license may be
// modified over time by the Author.

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include "../../src/doctest.h"
#include "../../src/executor.h"

TEST_SUITE("executor") {

TEST_CASE("executor") {
CHECK( true );
}
}

0 comments on commit 40970ef

Please sign in to comment.