| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <string> | ||
| 4 | #include <tuple> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | #include "task/include/task.hpp" | ||
| 8 | |||
| 9 | namespace fedoseev_linear_image_filtering_vertical { | ||
| 10 | |||
| 11 |
4/9✓ Branch 0 taken 520 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 520 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✓ Branch 6 taken 1040 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 40 times.
✗ Branch 9 not taken.
|
5200 | struct Image { |
| 12 | int width = 0; | ||
| 13 | int height = 0; | ||
| 14 | std::vector<int> data; | ||
| 15 | |||
| 16 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
560 | Image() = default; |
| 17 |
1/2✓ Branch 1 taken 520 times.
✗ Branch 2 not taken.
|
520 | Image(int w, int h, const std::vector<int> &d) : width(w), height(h), data(d) {} |
| 18 | }; | ||
| 19 | |||
| 20 | using InType = Image; | ||
| 21 | using OutType = Image; | ||
| 22 | using TestType = std::tuple<int, std::string>; | ||
| 23 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 24 | |||
| 25 | } // namespace fedoseev_linear_image_filtering_vertical | ||
| 26 |