GCC Code Coverage Report


Directory: ./
File: tasks/rychkova_gauss/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 0 -%
Branches: 0 18 0.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <cstdint>
4 #include <string>
5 #include <vector>
6
7 #include "task/include/task.hpp"
8
9 namespace rychkova_gauss {
10
11 struct Pixel {
12 uint8_t R;
13 uint8_t G;
14 uint8_t B;
15 bool operator==(const Pixel &other) const {
16 return R == other.R && G == other.G && B == other.B;
17 }
18 };
19 const int kEPS = 1;
20
21 const std::vector<std::vector<double>> kKernel = {
22 {1. / 16, 2. / 16, 1. / 16}, {2. / 16, 4. / 16, 2. / 16}, {1. / 16, 2. / 16, 1. / 16}};
23 using Image = std::vector<std::vector<Pixel>>; // создали псевдоним для изображения
24
25 using InType = Image; // вход
26 using OutType = Image; // выход
27 using TestType = std::string; // tuрle нужен только потому что работает с гугл
28 using BaseTask = ppc::task::Task<InType, OutType>;
29
30 } // namespace rychkova_gauss
31