mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-07-24 19:23:18 -05:00
date.h as git submodule.
This commit is contained in:
@@ -5,9 +5,9 @@ set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -Wextra")
|
||||
|
||||
include_directories(
|
||||
externals/Catch2/single_include/
|
||||
..
|
||||
../libcron/externals/date
|
||||
${CMAKE_CURRENT_LIST_DIR}/externals/Catch2/single_include/
|
||||
${CMAKE_CURRENT_LIST_DIR}/../libcron/externals/date/include
|
||||
${CMAKE_CURRENT_LIST_DIR}/..
|
||||
)
|
||||
|
||||
add_executable(
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
|
||||
|
||||
#include <catch.hpp>
|
||||
#include <date.h>
|
||||
#include <date/date.h>
|
||||
#include <libcron/Cron.h>
|
||||
#include <libcron/CronData.h>
|
||||
|
||||
@@ -21,8 +21,6 @@ bool has_value_range(const std::set<T>& set, uint8_t low, uint8_t high)
|
||||
return found;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SCENARIO("Numerical inputs")
|
||||
{
|
||||
GIVEN("Valid numerical inputs")
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#include <catch.hpp>
|
||||
#include <chrono>
|
||||
#include <date.h>
|
||||
#include <date/date.h>
|
||||
#include <libcron/Cron.h>
|
||||
#include <iostream>
|
||||
|
||||
|
Reference in New Issue
Block a user