| 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 nesterov_a_test_task_threads { | ||
| 11 | |||
| 12 | struct Point { | ||
| 13 | 104 | int x{}; | |
| 14 | 104 | int y{}; | |
| 15 |
2/4✓ Branch 0 taken 104 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 104 times.
✗ Branch 3 not taken.
|
104 | bool operator==(const Point &other) const = default; |
| 16 | }; | ||
| 17 | |||
| 18 |
3/6✓ Branch 1 taken 192 times.
✗ Branch 2 not taken.
✓ Branch 7 taken 24 times.
✗ Branch 8 not taken.
✓ Branch 10 taken 804 times.
✗ Branch 11 not taken.
|
1404 | 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<BinaryImage, std::string>; | ||
| 27 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 28 | |||
| 29 | } // namespace nesterov_a_test_task_threads | ||
| 30 |