| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <cstdint> | ||
| 4 | #include <string> | ||
| 5 | #include <tuple> | ||
| 6 | #include <vector> | ||
| 7 | |||
| 8 | #include "task/include/task.hpp" | ||
| 9 | |||
| 10 | namespace kondrashova_v_marking_components_seq { | ||
| 11 | |||
| 12 |
1/2✓ Branch 1 taken 32 times.
✗ Branch 2 not taken.
|
64 | struct ImageData { |
| 13 | std::vector<uint8_t> data; | ||
| 14 | int width{}; | ||
| 15 | int height{}; | ||
| 16 | }; | ||
| 17 | |||
| 18 |
1/8✗ Branch 1 not taken.
✓ Branch 2 taken 32 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
|
64 | struct Result { |
| 19 | int count{}; | ||
| 20 | std::vector<std::vector<int>> labels; | ||
| 21 | }; | ||
| 22 | |||
| 23 | using InType = ImageData; | ||
| 24 | using OutType = Result; | ||
| 25 | using TestType = std::tuple<int, std::string>; | ||
| 26 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 27 | |||
| 28 | } // namespace kondrashova_v_marking_components_seq | ||
| 29 |