netxsimdg
Loading...
Searching...
No Matches
ScopedTimer_test.cpp File Reference
#include "../src/include/ScopedTimer.hpp"
#include "include/Timer.hpp"
#include <chrono>
#include <iostream>
#include <thread>
#include <doctest/doctest.h>
Include dependency graph for ScopedTimer_test.cpp:

Go to the source code of this file.

Functions

void Nextsim::timeAndSleep ()
 
 Nextsim::TEST_SUITE_BEGIN ("ScopedTimer")
 
 Nextsim::TEST_CASE ("Test the scope dependent timer")
 
 Nextsim::TEST_SUITE_END ()
 

Detailed Description

Date
Oct 28, 2021
Author
Tim Spain timot.nosp@m.hy.s.nosp@m.pain@.nosp@m.ners.nosp@m.c.no

Definition in file ScopedTimer_test.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

Definition at line 16 of file ScopedTimer_test.cpp.

Function Documentation

◆ TEST_CASE()

Nextsim::TEST_CASE ( "Test the scope dependent timer" )

Definition at line 28 of file ScopedTimer_test.cpp.

◆ timeAndSleep()

void Nextsim::timeAndSleep ( )

Definition at line 21 of file ScopedTimer_test.cpp.