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

Go to the source code of this file.

Functions

 TEST_SUITE_BEGIN ("Timer")
 
 TEST_CASE ("Test a timer")
 
void timeAndSleep ()
 
 TEST_CASE ("Test the scope dependent timer")
 
 TEST_SUITE_END ()
 

Detailed Description

Date
Oct 27, 2021
Author
Tim Spain

Definition in file Timer_test.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

Definition at line 10 of file Timer_test.cpp.

Function Documentation

◆ TEST_CASE() [1/2]

TEST_CASE ( "Test a timer" )

Definition at line 19 of file Timer_test.cpp.

◆ TEST_CASE() [2/2]

TEST_CASE ( "Test the scope dependent timer" )

Definition at line 61 of file Timer_test.cpp.

◆ timeAndSleep()

void timeAndSleep ( )

Definition at line 54 of file Timer_test.cpp.