|
@@ -28,6 +28,7 @@
|
|
|
#include <tests/dtss/models.hpp>
|
|
|
|
|
|
#include <artis-star/common/RootCoordinator.hpp>
|
|
|
+#include <artis-star/kernel/dtss/Policy.hpp>
|
|
|
|
|
|
#define CATCH_CONFIG_MAIN
|
|
|
|
|
@@ -42,7 +43,7 @@ TEST_CASE("dtss/only_one", "run")
|
|
|
artis::common::RootCoordinator<
|
|
|
DoubleTime, artis::dtss::Coordinator<
|
|
|
DoubleTime,
|
|
|
- Policy,
|
|
|
+ artis::dtss::LastBagPolicy,
|
|
|
OnlyOneGraphManager,
|
|
|
artis::dtss::Parameters<DoubleTime>,
|
|
|
artis::common::NoParameters>
|
|
@@ -58,7 +59,7 @@ TEST_CASE("dtss/only_one", "run")
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("a").filter_time(t).
|
|
|
- filter_type(artis::common::TraceType::DELTA_INT).size() == 1);
|
|
|
+ filter_type(artis::common::TraceType::TRANSITION).size() == 1);
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("a").filter_time(t).
|
|
@@ -72,7 +73,7 @@ TEST_CASE("dtss/two", "run")
|
|
|
artis::common::RootCoordinator<
|
|
|
DoubleTime, artis::dtss::Coordinator<
|
|
|
DoubleTime,
|
|
|
- Policy,
|
|
|
+ artis::dtss::LastBagPolicy,
|
|
|
TwoGraphManager,
|
|
|
artis::dtss::Parameters<DoubleTime> >
|
|
|
> rc(context, "root",
|
|
@@ -90,7 +91,7 @@ TEST_CASE("dtss/two", "run")
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("a").filter_time(t).
|
|
|
- filter_type(artis::common::TraceType::DELTA_INT).size() == 1);
|
|
|
+ filter_type(artis::common::TraceType::TRANSITION).size() == 1);
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("a").filter_time(t).
|
|
@@ -105,7 +106,7 @@ TEST_CASE("dtss/two", "run")
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("b").filter_time(t).
|
|
|
- filter_type(artis::common::TraceType::DELTA_INT).size() == 1);
|
|
|
+ filter_type(artis::common::TraceType::TRANSITION).size() == 1);
|
|
|
REQUIRE(artis::common::Trace<
|
|
|
DoubleTime > ::trace().elements().
|
|
|
filter_model_name("b").filter_time(t).
|