| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <cstdint> | ||
| 4 | #include <string> | ||
| 5 | #include <tuple> | ||
| 6 | #include <vector> | ||
| 7 | |||
| 8 | namespace vlasova_a_image_smoothing { | ||
| 9 | |||
| 10 |
2/11✓ Branch 0 taken 30 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 30 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
|
150 | struct ImageData { |
| 11 | std::vector<std::uint8_t> data; | ||
| 12 | int width = 0; | ||
| 13 | int height = 0; | ||
| 14 | |||
| 15 | bool operator==(const ImageData &other) const { | ||
| 16 | return width == other.width && height == other.height && data == other.data; | ||
| 17 | } | ||
| 18 | }; | ||
| 19 | |||
| 20 | using InType = ImageData; | ||
| 21 | using OutType = ImageData; | ||
| 22 | using TestType = std::tuple<int, std::string>; | ||
| 23 | |||
| 24 | } // namespace vlasova_a_image_smoothing | ||
| 25 |