Skip to content

Commit a260fc0

Browse files
committed
fix coverage
1 parent 4d23dd2 commit a260fc0

12 files changed

Lines changed: 18 additions & 6 deletions

File tree

tasks/all/example/include/ops_all.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestTaskALL : public ppc::core::Task {
1414
bool PreProcessingImpl() override;
1515
bool RunImpl() override;
1616
bool PostProcessingImpl() override;
17-
std::vector<int> Get() { return output_; }
17+
std::vector<int> Get();
1818

1919
private:
2020
std::vector<int> input_, output_;

tasks/all/example/src/ops_all.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ bool nesterov_a_test_task_all::TestTaskALL::RunImpl() {
6969
}
7070

7171
bool nesterov_a_test_task_all::TestTaskALL::PostProcessingImpl() { return true; }
72+
73+
std::vector<int> nesterov_a_test_task_all::TestTaskALL::Get() { return output_; }

tasks/mpi/example/include/ops_mpi.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestTaskMPI : public ppc::core::Task {
1414
bool PreProcessingImpl() override;
1515
bool RunImpl() override;
1616
bool PostProcessingImpl() override;
17-
std::vector<int> Get() { return output_; }
17+
std::vector<int> Get();
1818

1919
private:
2020
std::vector<int> input_, output_;

tasks/mpi/example/src/ops_mpi.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ void nesterov_a_test_task_mpi::TestTaskMPI::MultiplyColumnMajor() {
5656
}
5757

5858
bool nesterov_a_test_task_mpi::TestTaskMPI::PostProcessingImpl() { return true; }
59+
60+
std::vector<int> nesterov_a_test_task_mpi::TestTaskMPI::Get() { return output_; }

tasks/omp/example/include/ops_omp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestTaskOpenMP : public ppc::core::Task {
1414
bool PreProcessingImpl() override;
1515
bool RunImpl() override;
1616
bool PostProcessingImpl() override;
17-
std::vector<int> Get() { return output_; }
17+
std::vector<int> Get();
1818

1919
private:
2020
std::vector<int> input_, output_;

tasks/omp/example/src/ops_omp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ bool nesterov_a_test_task_omp::TestTaskOpenMP::RunImpl() {
3535
}
3636

3737
bool nesterov_a_test_task_omp::TestTaskOpenMP::PostProcessingImpl() { return true; }
38+
39+
std::vector<int> nesterov_a_test_task_omp::TestTaskOpenMP::Get() { return output_; }

tasks/seq/example/include/ops_seq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestTaskSequential : public ppc::core::Task {
1414
bool PreProcessingImpl() override;
1515
bool RunImpl() override;
1616
bool PostProcessingImpl() override;
17-
std::vector<int> Get() { return output_; }
17+
std::vector<int> Get();
1818

1919
private:
2020
std::vector<int> input_, output_;

tasks/seq/example/src/ops_seq.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ bool nesterov_a_test_task_seq::TestTaskSequential::RunImpl() {
2828
}
2929

3030
bool nesterov_a_test_task_seq::TestTaskSequential::PostProcessingImpl() { return true; }
31+
32+
std::vector<int> nesterov_a_test_task_seq::TestTaskSequential::Get() { return output_; }

tasks/stl/example/include/ops_stl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestTaskSTL : public ppc::core::Task {
1414
bool PreProcessingImpl() override;
1515
bool RunImpl() override;
1616
bool PostProcessingImpl() override;
17-
std::vector<int> Get() { return output_; }
17+
std::vector<int> Get();
1818

1919
private:
2020
std::vector<int> input_, output_;

tasks/stl/example/src/ops_stl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ bool nesterov_a_test_task_stl::TestTaskSTL::RunImpl() {
4343
}
4444

4545
bool nesterov_a_test_task_stl::TestTaskSTL::PostProcessingImpl() { return true; }
46+
47+
std::vector<int> nesterov_a_test_task_stl::TestTaskSTL::Get() { return output_; }

0 commit comments

Comments
 (0)