netxsimdg
Loading...
Searching...
No Matches
Time_test.cpp File Reference
#include "include/Time.hpp"
#include <sstream>
#include <doctest/doctest.h>
Include dependency graph for Time_test.cpp:

Go to the source code of this file.

Functions

 Nextsim::TEST_SUITE_BEGIN ("Time")
 
 Nextsim::TEST_CASE ("TimePoint parsing and formating")
 
 Nextsim::TEST_CASE ("Julian-Gregorian shifts")
 
 Nextsim::TEST_CASE ("mkgmtime")
 
 Nextsim::TEST_CASE ("timeFromISO")
 
 Nextsim::TEST_CASE ("TimePoints")
 
 Nextsim::TEST_CASE ("Durations")
 
 Nextsim::TEST_CASE ("gmtime and doy")
 
 Nextsim::TEST_SUITE_END ()
 

Detailed Description

Date
Jun 7, 2022
Author
Tim Spain timot.nosp@m.hy.s.nosp@m.pain@.nosp@m.ners.nosp@m.c.no

Definition in file Time_test.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

Definition at line 12 of file Time_test.cpp.

Function Documentation

◆ TEST_CASE() [1/7]

Nextsim::TEST_CASE ( "Durations" )

Definition at line 160 of file Time_test.cpp.

◆ TEST_CASE() [2/7]

Nextsim::TEST_CASE ( "gmtime and doy" )

Definition at line 226 of file Time_test.cpp.

◆ TEST_CASE() [3/7]

Nextsim::TEST_CASE ( "Julian-Gregorian shifts" )

Definition at line 38 of file Time_test.cpp.

◆ TEST_CASE() [4/7]

Nextsim::TEST_CASE ( "mkgmtime" )

Definition at line 55 of file Time_test.cpp.

◆ TEST_CASE() [5/7]

Nextsim::TEST_CASE ( "timeFromISO" )

Definition at line 119 of file Time_test.cpp.

◆ TEST_CASE() [6/7]

Nextsim::TEST_CASE ( "TimePoint parsing and formating" )

Definition at line 18 of file Time_test.cpp.

◆ TEST_CASE() [7/7]

Nextsim::TEST_CASE ( "TimePoints" )

Definition at line 144 of file Time_test.cpp.