|
BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
#include <iostream>#include <BoosterSeat/sleep.hpp>#include <BoosterSeat/stopwatch.hpp>#include "gtest/gtest.h"Functions | |
| TEST (bst_stopwatch, DefaultConstructor) | |
| TEST (bst_stopwatch, IStopwatch) | |
| TEST (bst_stopwatch, KeepsRunningTotal) | |
| TEST (bst_stopwatch, ResetKeepsRunning) | |
| TEST (bst_stopwatch, ResetStopsByDefault) | |
| TEST (bst_stopwatch, SoftwareStopwatch) | |
| TEST (bst_stopwatch, StartAndStop) | |
| TEST (bst_stopwatch, Units) | |
| TEST | ( | bst_stopwatch | , |
| DefaultConstructor | |||
| ) |
References bst::Stopwatch::elapsedMicroseconds(), and bst::Stopwatch::isRunning().
| TEST | ( | bst_stopwatch | , |
| StartAndStop | |||
| ) |
References bst::Stopwatch::isRunning(), bst::Stopwatch::start(), and bst::Stopwatch::stop().
| TEST | ( | bst_stopwatch | , |
| Units | |||
| ) |
References bst::Stopwatch::elapsedMicrosecondsF(), bst::Stopwatch::elapsedMillisecondsF(), bst::Stopwatch::elapsedSecondsF(), bst::sleep(), bst::Stopwatch::start(), and bst::Stopwatch::stop().
| TEST | ( | bst_stopwatch | , |
| KeepsRunningTotal | |||
| ) |
References bst::Stopwatch::elapsedSecondsF(), bst::sleep(), bst::Stopwatch::start(), and bst::Stopwatch::stop().
| TEST | ( | bst_stopwatch | , |
| ResetStopsByDefault | |||
| ) |
References bst::Stopwatch::elapsedMicroseconds(), bst::Stopwatch::isRunning(), bst::Stopwatch::reset(), bst::sleep(), and bst::Stopwatch::start().
| TEST | ( | bst_stopwatch | , |
| ResetKeepsRunning | |||
| ) |
References bst::Stopwatch::elapsedMicroseconds(), bst::Stopwatch::isRunning(), bst::Stopwatch::reset(), bst::sleep(), and bst::Stopwatch::start().
| TEST | ( | bst_stopwatch | , |
| IStopwatch | |||
| ) |
References bst::IStopwatch::elapsedMilliseconds(), bst::sleep(), bst::IStopwatch::start(), and bst::IStopwatch::stop().
| TEST | ( | bst_stopwatch | , |
| SoftwareStopwatch | |||
| ) |
References bst::IStopwatch::elapsedMilliseconds(), bst::IStopwatch::start(), bst::IStopwatch::stop(), and bst::SoftwareStopwatch::tick().