| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "lukin_i_torus_topology/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include <tuple> | ||
| 4 | #include <vector> | ||
| 5 | |||
| 6 | #include "lukin_i_torus_topology/common/include/common.hpp" | ||
| 7 | |||
| 8 | namespace lukin_i_torus_topology { | ||
| 9 | |||
| 10 |
2/4✓ Branch 1 taken 72 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 72 times.
✗ Branch 5 not taken.
|
72 | LukinIThorTopologySEQ::LukinIThorTopologySEQ(const InType &in) { |
| 11 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 12 | GetInput() = in; | ||
| 13 | 72 | GetOutput() = std::make_tuple(std::vector<int>{}, std::vector<int>{}); | |
| 14 | 72 | } | |
| 15 | |||
| 16 | 72 | bool LukinIThorTopologySEQ::ValidationImpl() { | |
| 17 | 72 | return true; | |
| 18 | } | ||
| 19 | |||
| 20 | 72 | bool LukinIThorTopologySEQ::PreProcessingImpl() { | |
| 21 | 72 | return true; | |
| 22 | } | ||
| 23 | |||
| 24 | 72 | bool LukinIThorTopologySEQ::RunImpl() { | |
| 25 | const int size = 1e7; | ||
| 26 | |||
| 27 | 72 | std::vector<int> tmp; | |
| 28 |
1/2✓ Branch 1 taken 72 times.
✗ Branch 2 not taken.
|
72 | tmp.reserve(size); |
| 29 | |||
| 30 |
2/2✓ Branch 0 taken 720000000 times.
✓ Branch 1 taken 72 times.
|
720000072 | for (int i = 0; i < size; i++) { |
| 31 | tmp.push_back(i); | ||
| 32 | } | ||
| 33 | |||
| 34 |
2/6✓ Branch 1 taken 72 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 72 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 6 not taken.
|
144 | GetOutput() = std::make_tuple(dummy_route_, tmp); |
| 35 | |||
| 36 | 72 | return true; | |
| 37 | } | ||
| 38 | |||
| 39 | 72 | bool LukinIThorTopologySEQ::PostProcessingImpl() { | |
| 40 | 72 | return true; | |
| 41 | } | ||
| 42 | |||
| 43 | } // namespace lukin_i_torus_topology | ||
| 44 |