GCC Code Coverage Report


Directory: ./
File: tasks/tochilin_e_integration_trapezoid/common/include/common.hpp
Date: 2026-01-27 01:59:34
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 1 4 25.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <functional>
4 #include <string>
5 #include <tuple>
6
7 #include "task/include/task.hpp"
8
9 namespace tochilin_e_integration_trapezoid {
10
11 using FunctionType = std::function<double(double)>;
12
13
1/4
✓ Branch 1 taken 30 times.
✗ Branch 2 not taken.
✗ Branch 21 not taken.
✗ Branch 22 not taken.
120 struct IntegrationInput {
14 double lower_bound{};
15 double upper_bound{};
16 int num_intervals{};
17 FunctionType function;
18 };
19
20 using InType = IntegrationInput;
21 using OutType = double;
22 using TestType = std::tuple<int, std::string>;
23 using BaseTask = ppc::task::Task<InType, OutType>;
24
25 } // namespace tochilin_e_integration_trapezoid
26