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