| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <string> | ||
| 4 | #include <tuple> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | #include "task/include/task.hpp" | ||
| 8 | |||
| 9 | namespace kopilov_d_sum_val_col_mat { | ||
| 10 | |||
| 11 |
2/3✓ Branch 1 taken 6 times.
✓ Branch 2 taken 24 times.
✗ Branch 3 not taken.
|
144 | struct Input { |
| 12 | std::vector<double> data; | ||
| 13 | int rows = 0; | ||
| 14 | int cols = 0; | ||
| 15 | }; | ||
| 16 | |||
| 17 |
1/8✓ Branch 0 taken 30 times.
✗ Branch 1 not taken.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 6 not taken.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
|
90 | struct Output { |
| 18 | std::vector<double> col_sum; | ||
| 19 | }; | ||
| 20 | |||
| 21 | using InType = Input; | ||
| 22 | using OutType = Output; | ||
| 23 | |||
| 24 | using TestType = std::tuple<int, std::string>; | ||
| 25 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 26 | |||
| 27 | } // namespace kopilov_d_sum_val_col_mat | ||
| 28 |