Commit 52451782f21dca57e7b43f5e0fadcba9d7da451d
1 parent
37dff2d7
Improve code formating.
Showing
1 changed file
with
10 additions
and
10 deletions
test/test_GObservation.cpp
| @@ -72,12 +72,12 @@ void TestOpenMP::set(void) | @@ -72,12 +72,12 @@ void TestOpenMP::set(void) | ||
| 72 | 72 | ||
| 73 | 73 | ||
| 74 | /***********************************************************************//** | 74 | /***********************************************************************//** |
| 75 | -* @brief Test observations optimizer. | ||
| 76 | -* | ||
| 77 | -* @param[in] mode Testing mode. | ||
| 78 | -* | ||
| 79 | -* This method supports two testing modes: 0 = unbinned and 1 = binned. | ||
| 80 | -***************************************************************************/ | 75 | + * @brief Test observations optimizer. |
| 76 | + * | ||
| 77 | + * @param[in] mode Testing mode. | ||
| 78 | + * | ||
| 79 | + * This method supports two testing modes: 0 = unbinned and 1 = binned. | ||
| 80 | + ***************************************************************************/ | ||
| 81 | GModelPar& TestOpenMP::test_observations_optimizer(int mode) | 81 | GModelPar& TestOpenMP::test_observations_optimizer(int mode) |
| 82 | { | 82 | { |
| 83 | // Create Test Model | 83 | // Create Test Model |
| @@ -155,7 +155,7 @@ GModelPar& TestOpenMP::test_observations_optimizer(int mode) | @@ -155,7 +155,7 @@ GModelPar& TestOpenMP::test_observations_optimizer(int mode) | ||
| 155 | /***********************************************************************//** | 155 | /***********************************************************************//** |
| 156 | * @brief Test optimizer with unbinned events and 1 thread | 156 | * @brief Test optimizer with unbinned events and 1 thread |
| 157 | ***************************************************************************/ | 157 | ***************************************************************************/ |
| 158 | -void TestOpenMP::test_observations_optimizer_unbinned_1() | 158 | +void TestOpenMP::test_observations_optimizer_unbinned_1(void) |
| 159 | { | 159 | { |
| 160 | // Test with 1 thread | 160 | // Test with 1 thread |
| 161 | omp_set_num_threads(1); | 161 | omp_set_num_threads(1); |
| @@ -168,7 +168,7 @@ void TestOpenMP::test_observations_optimizer_unbinned_1() | @@ -168,7 +168,7 @@ void TestOpenMP::test_observations_optimizer_unbinned_1() | ||
| 168 | /***********************************************************************//** | 168 | /***********************************************************************//** |
| 169 | * @brief Test optimizer with unbinned events and 10 thread | 169 | * @brief Test optimizer with unbinned events and 10 thread |
| 170 | ***************************************************************************/ | 170 | ***************************************************************************/ |
| 171 | -void TestOpenMP::test_observations_optimizer_unbinned_10() | 171 | +void TestOpenMP::test_observations_optimizer_unbinned_10(void) |
| 172 | { | 172 | { |
| 173 | // Test with 10 threads | 173 | // Test with 10 threads |
| 174 | omp_set_num_threads(10); | 174 | omp_set_num_threads(10); |
| @@ -182,7 +182,7 @@ void TestOpenMP::test_observations_optimizer_unbinned_10() | @@ -182,7 +182,7 @@ void TestOpenMP::test_observations_optimizer_unbinned_10() | ||
| 182 | /***********************************************************************//** | 182 | /***********************************************************************//** |
| 183 | * @brief Test optimizer with binned events and 1 thread | 183 | * @brief Test optimizer with binned events and 1 thread |
| 184 | ***************************************************************************/ | 184 | ***************************************************************************/ |
| 185 | -void TestOpenMP::test_observations_optimizer_binned_1() | 185 | +void TestOpenMP::test_observations_optimizer_binned_1(void) |
| 186 | { | 186 | { |
| 187 | // Test with 1 thread | 187 | // Test with 1 thread |
| 188 | omp_set_num_threads(1); | 188 | omp_set_num_threads(1); |
| @@ -196,7 +196,7 @@ void TestOpenMP::test_observations_optimizer_binned_1() | @@ -196,7 +196,7 @@ void TestOpenMP::test_observations_optimizer_binned_1() | ||
| 196 | /***********************************************************************//** | 196 | /***********************************************************************//** |
| 197 | * @brief Test optimizer with binned events and 10 threads | 197 | * @brief Test optimizer with binned events and 10 threads |
| 198 | ***************************************************************************/ | 198 | ***************************************************************************/ |
| 199 | -void TestOpenMP::test_observations_optimizer_binned_10() | 199 | +void TestOpenMP::test_observations_optimizer_binned_10(void) |
| 200 | { | 200 | { |
| 201 | // Test with 10 threads | 201 | // Test with 10 threads |
| 202 | omp_set_num_threads(10); | 202 | omp_set_num_threads(10); |