Rename .h file extension to .hpp, and fix some include orderings
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <aocTests/TestContext.h>
|
||||
#include <aocTests/TestContext.hpp>
|
||||
|
||||
class Part1TestContext
|
||||
: public TestContext
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <aocTests/TestContext.h>
|
||||
#include <aocTests/TestContext.hpp>
|
||||
|
||||
class Part2TestContext
|
||||
: public TestContext
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <aoc/Solver.h>
|
||||
#include <aoc/Solver.hpp>
|
||||
|
||||
class TestContext
|
||||
{
|
||||
@@ -13,7 +13,7 @@
|
||||
// You should have received a copy of the GNU General Public License along with
|
||||
// this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <aocTests/Part1TestContext.h>
|
||||
#include <aocTests/Part1TestContext.hpp>
|
||||
|
||||
Part1TestContext::Part1TestContext(std::vector<std::string> inputPaths)
|
||||
: TestContext{ inputPaths } {}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// You should have received a copy of the GNU General Public License along with
|
||||
// this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <aocTests/Part2TestContext.h>
|
||||
#include <aocTests/Part2TestContext.hpp>
|
||||
|
||||
Part2TestContext::Part2TestContext(std::vector<std::string> inputPaths)
|
||||
: TestContext{ inputPaths } {}
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
#include <aoc/Solver.h>
|
||||
#include <aoc/SolverEngine.h>
|
||||
#include <aoc/HistorianHysteria.h>
|
||||
#include <aoc/Solver.hpp>
|
||||
#include <aoc/SolverEngine.hpp>
|
||||
#include <aoc/HistorianHysteria.hpp>
|
||||
|
||||
#include <aocTests/Part1TestContext.h>
|
||||
#include <aocTests/Part2TestContext.h>
|
||||
#include <aocTests/Part1TestContext.hpp>
|
||||
#include <aocTests/Part2TestContext.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// You should have received a copy of the GNU General Public License along with
|
||||
// this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <aocTests/TestContext.h>
|
||||
#include <aocTests/TestContext.hpp>
|
||||
|
||||
TestContext::TestContext(std::vector<std::string> inputPaths)
|
||||
: inputPaths_{ inputPaths } {}
|
||||
|
||||
Reference in New Issue
Block a user