GCC Code Coverage Report


Directory: ./
File: tasks/chaschin_v_sobel_operator/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 3 6 50.0%

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 chaschin_v_sobel_operator {
11
12 struct Pixel {
13 uint8_t r, g, b;
14 bool operator==(const Pixel &other) const {
15
3/6
✓ Branch 0 taken 90840 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 90840 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 90840 times.
✗ Branch 5 not taken.
90840 return r == other.r && g == other.g && b == other.b;
16 }
17 };
18
19 using InType = std::tuple<std::vector<std::vector<Pixel>>, int, int>;
20 using OutType = std::vector<std::vector<Pixel>>;
21 using TestType = std::tuple<int, std::string>;
22 using BaseTask = ppc::task::Task<InType, OutType>;
23
24 } // namespace chaschin_v_sobel_operator
25