forked from snakster/cpp.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathObserverTest.cpp
More file actions
29 lines (21 loc) · 989 Bytes
/
ObserverTest.cpp
File metadata and controls
29 lines (21 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Sebastian Jeckel 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "ObserverTest.h"
#include "TestUtil.h"
#include "react/engine/PulsecountEngine.h"
#include "react/engine/ToposortEngine.h"
#include "react/engine/SubtreeEngine.h"
///////////////////////////////////////////////////////////////////////////////////////////////////
namespace {
using namespace react;
using P1 = DomainParams<sequential,ToposortEngine>;
using P2 = DomainParams<parallel,ToposortEngine>;
using P3 = DomainParams<parallel,PulsecountEngine>;
using P4 = DomainParams<parallel,SubtreeEngine>;
INSTANTIATE_TYPED_TEST_CASE_P(SeqToposort, ObserverTest, P1);
INSTANTIATE_TYPED_TEST_CASE_P(ParToposort, ObserverTest, P2);
INSTANTIATE_TYPED_TEST_CASE_P(Pulsecount, ObserverTest, P3);
INSTANTIATE_TYPED_TEST_CASE_P(Subtree, ObserverTest, P4);
} // ~namespace