| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "zenin_a_topology_star/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include <cmath> | ||
| 4 | #include <vector> | ||
| 5 | |||
| 6 | #include "zenin_a_topology_star/common/include/common.hpp" | ||
| 7 | |||
| 8 | namespace zenin_a_topology_star { | ||
| 9 | |||
| 10 |
1/2✓ Branch 1 taken 120 times.
✗ Branch 2 not taken.
|
120 | ZeninATopologyStarSEQ::ZeninATopologyStarSEQ(const InType &in) { |
| 11 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 12 | GetInput() = in; | ||
| 13 | 120 | GetOutput() = OutType{}; | |
| 14 | 120 | } | |
| 15 | |||
| 16 | 120 | bool ZeninATopologyStarSEQ::ValidationImpl() { | |
| 17 | const auto &in = GetInput(); | ||
| 18 | |||
| 19 | 120 | return !std::get<2>(in).empty(); | |
| 20 | } | ||
| 21 | |||
| 22 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 120 times.
|
120 | bool ZeninATopologyStarSEQ::PreProcessingImpl() { |
| 23 | GetOutput().clear(); | ||
| 24 | 120 | return true; | |
| 25 | } | ||
| 26 | |||
| 27 | 120 | bool ZeninATopologyStarSEQ::RunImpl() { | |
| 28 | const auto &in = GetInput(); | ||
| 29 | const auto &data = std::get<2>(in); | ||
| 30 | |||
| 31 | 120 | GetOutput() = data; | |
| 32 | 120 | return true; | |
| 33 | } | ||
| 34 | |||
| 35 | 120 | bool ZeninATopologyStarSEQ::PostProcessingImpl() { | |
| 36 | 120 | return true; | |
| 37 | } | ||
| 38 | |||
| 39 | } // namespace zenin_a_topology_star | ||
| 40 |