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