GCC Code Coverage Report


Directory: ./
File: tasks/egorova_l_binary_convex_hull/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 4 8 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <cstdint>
4 #include <tuple>
5 #include <vector>
6
7 #include "task/include/task.hpp"
8
9 namespace egorova_l_binary_convex_hull {
10
11 struct Point {
12 int x, y;
13 bool operator<(const Point &other) const {
14 return std::tie(x, y) < std::tie(other.x, other.y);
15 }
16 };
17
18
4/8
✓ Branch 1 taken 448 times.
✗ Branch 2 not taken.
✓ Branch 6 taken 56 times.
✗ Branch 7 not taken.
✓ Branch 9 taken 56 times.
✗ Branch 10 not taken.
✓ Branch 12 taken 1876 times.
✗ Branch 13 not taken.
2548 struct ImageData {
19 std::vector<uint8_t> data;
20 int width = 0;
21 int height = 0;
22 };
23
24 using InType = ImageData;
25 using OutType = std::vector<std::vector<Point>>;
26 using BaseTask = ppc::task::Task<InType, OutType>;
27
28 } // namespace egorova_l_binary_convex_hull
29