From 55775fc450990163969c8a2aa441633269343846 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Thu, 7 Jan 2021 12:33:07 +0100
Subject: [PATCH] style

---
 examples/cascade_example.cpp             | 2 +-
 tests/framework/testCOMBoost.cpp         | 2 +-
 tests/framework/testClassTimer.cpp       | 2 +-
 tests/framework/testFunctionTimer.cpp    | 2 +-
 tests/framework/testGeometry.cpp         | 2 +-
 tests/framework/testLogging.cpp          | 4 ++--
 tests/media/testEnvironment.cpp          | 8 ++++----
 tests/media/testShowerAxis.cpp           | 2 +-
 tests/modules/testCONEX.cpp              | 2 +-
 tests/modules/testExecTime.cpp           | 2 +-
 tests/modules/testInteractionCounter.cpp | 2 +-
 tests/modules/testParticleCut.cpp        | 2 +-
 tests/modules/testUrQMD.cpp              | 2 +-
 13 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/examples/cascade_example.cpp b/examples/cascade_example.cpp
index 246b5538a..d14843c51 100644
--- a/examples/cascade_example.cpp
+++ b/examples/cascade_example.cpp
@@ -54,7 +54,7 @@ using namespace std;
 //
 int main() {
 
-  //logging::set_level(logging::level::info);
+  // logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
   logging::set_level(logging::level::trace);
 
diff --git a/tests/framework/testCOMBoost.cpp b/tests/framework/testCOMBoost.cpp
index 4b60566e4..caf6f0896 100644
--- a/tests/framework/testCOMBoost.cpp
+++ b/tests/framework/testCOMBoost.cpp
@@ -173,7 +173,7 @@ TEST_CASE("boosts") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   // define target kinematics in lab frame
   HEPMassType const targetMass = 1_GeV;
   MomentumVector pTargetLab{rootCS, {0_eV, 0_eV, 0_eV}};
diff --git a/tests/framework/testClassTimer.cpp b/tests/framework/testClassTimer.cpp
index 008b581e8..d51a56b1a 100644
--- a/tests/framework/testClassTimer.cpp
+++ b/tests/framework/testClassTimer.cpp
@@ -107,7 +107,7 @@ TEST_CASE("ClassTimer", "[Timer]") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   SECTION("Measure runtime of a function without arguments") {
 
     auto test = foo();
diff --git a/tests/framework/testFunctionTimer.cpp b/tests/framework/testFunctionTimer.cpp
index 6596bcb70..f0bc38e67 100644
--- a/tests/framework/testFunctionTimer.cpp
+++ b/tests/framework/testFunctionTimer.cpp
@@ -34,7 +34,7 @@ TEST_CASE("FunctionTimer", "[Timer]") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   SECTION("Measure runtime of a free function") {
 
     auto test = corsika::FunctionTimer(testFunc);
diff --git a/tests/framework/testGeometry.cpp b/tests/framework/testGeometry.cpp
index f0cd253f7..a39201c04 100644
--- a/tests/framework/testGeometry.cpp
+++ b/tests/framework/testGeometry.cpp
@@ -30,7 +30,7 @@ TEST_CASE("transformations between CoordinateSystems") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   CoordinateSystemPtr rootCS = get_root_CoordinateSystem();
 
   QuantityVector<length_d> const coordinates{0_m, 0_m, 0_m};
diff --git a/tests/framework/testLogging.cpp b/tests/framework/testLogging.cpp
index 0c6de5282..b737d7dfa 100644
--- a/tests/framework/testLogging.cpp
+++ b/tests/framework/testLogging.cpp
@@ -13,9 +13,9 @@
 using namespace corsika;
 
 TEST_CASE("Logging", "[Logging]") {
-  
+
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-    
+
   SECTION("top level functions using default corsika logger") {
     logging::info("(1) This is an info message!");
     logging::warn("(1) This is a warning message!");
diff --git a/tests/media/testEnvironment.cpp b/tests/media/testEnvironment.cpp
index 799ff2423..d9e42cf0c 100644
--- a/tests/media/testEnvironment.cpp
+++ b/tests/media/testEnvironment.cpp
@@ -42,7 +42,7 @@ TEST_CASE("HomogeneousMedium") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   NuclearComposition const protonComposition(std::vector<Code>{Code::Proton},
                                              std::vector<float>{1.f});
   HomogeneousMedium<IMediumModel> const medium(19.2_g / cube(1_cm), protonComposition);
@@ -52,7 +52,7 @@ TEST_CASE("FlatExponential") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   NuclearComposition const protonComposition(std::vector<Code>{Code::Proton},
                                              std::vector<float>{1.f});
 
@@ -115,7 +115,7 @@ TEST_CASE("SlidingPlanarExponential") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   NuclearComposition const protonComposition(std::vector<Code>{Code::Proton},
                                              std::vector<float>{1.f});
 
@@ -176,7 +176,7 @@ TEST_CASE("InhomogeneousMedium") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   Vector direction(gCS, QuantityVector<dimensionless_d>(1, 0, 0));
 
   Line line(gOrigin, Vector<SpeedType::dimension_type>(
diff --git a/tests/media/testShowerAxis.cpp b/tests/media/testShowerAxis.cpp
index 2293b616f..8ba454c34 100644
--- a/tests/media/testShowerAxis.cpp
+++ b/tests/media/testShowerAxis.cpp
@@ -49,7 +49,7 @@ TEST_CASE("Homogeneous Density") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   auto [env, csPtr, nodePtr] = setupEnvironment(Code::Nitrogen);
   auto const& cs = *csPtr;
   [[maybe_unused]] auto const& env_dummy = env;
diff --git a/tests/modules/testCONEX.cpp b/tests/modules/testCONEX.cpp
index 48ddaa4c7..621ae626a 100644
--- a/tests/modules/testCONEX.cpp
+++ b/tests/modules/testCONEX.cpp
@@ -40,7 +40,7 @@ TEST_CASE("CONEXSourceCut") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   RNGManager::getInstance().registerRandomStream("cascade");
   RNGManager::getInstance().registerRandomStream("sibyll");
 
diff --git a/tests/modules/testExecTime.cpp b/tests/modules/testExecTime.cpp
index 2079da842..68a85d81b 100644
--- a/tests/modules/testExecTime.cpp
+++ b/tests/modules/testExecTime.cpp
@@ -28,7 +28,7 @@ TEST_CASE("Timing process", "[proccesses][analytic_processors ExecTime]") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   int tmp = 0;
 
   SECTION("BoundaryCrossing") {
diff --git a/tests/modules/testInteractionCounter.cpp b/tests/modules/testInteractionCounter.cpp
index 096903c54..350e1dc1d 100644
--- a/tests/modules/testInteractionCounter.cpp
+++ b/tests/modules/testInteractionCounter.cpp
@@ -106,7 +106,7 @@ TEST_CASE("InteractionCounterOutput", "[output validation]") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   auto file = GENERATE(as<std::string>{}, "testInteractionCounter_file1",
                        "testInteractionCounter_file2");
 
diff --git a/tests/modules/testParticleCut.cpp b/tests/modules/testParticleCut.cpp
index 27164cada..a88942301 100644
--- a/tests/modules/testParticleCut.cpp
+++ b/tests/modules/testParticleCut.cpp
@@ -26,7 +26,7 @@ TEST_CASE("ParticleCut", "[processes]") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   feenableexcept(FE_INVALID);
   using EnvType = setup::Environment;
 
diff --git a/tests/modules/testUrQMD.cpp b/tests/modules/testUrQMD.cpp
index 03ea27d8c..28ed39a15 100644
--- a/tests/modules/testUrQMD.cpp
+++ b/tests/modules/testUrQMD.cpp
@@ -60,7 +60,7 @@ TEST_CASE("UrQMD") {
 
   logging::set_level(logging::level::info);
   corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
-  
+
   SECTION("conversion") {
     CHECK_THROWS(corsika::urqmd::convertFromUrQMD(106, 0));
     CHECK(corsika::urqmd::convertFromUrQMD(101, 0) == Code::Pi0);
-- 
GitLab