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