|
BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
#include <BoosterSeat/sleep.hpp>#include <BoosterSeat/time.hpp>#include "gtest/gtest.h"#include <iostream>Functions | |
| TEST (bst_time, basic_string) | |
| TEST (bst_time, constructors) | |
| TEST (bst_time, getters) | |
| TEST (bst_time, greaterThanLessThanOperators) | |
| TEST (bst_time, secondsFromNow) | |
| TEST (bst_time, setToNow) | |
| TEST | ( | bst_time | , |
| constructors | |||
| ) |
References bst::Time::secondsFromNow(), and bst::Time::toString().
| TEST | ( | bst_time | , |
| basic_string | |||
| ) |
References bst::Time::fromString(), and bst::Time::toString().
| TEST | ( | bst_time | , |
| getters | |||
| ) |
References bst::Time::fromString(), bst::Time::getDay(), bst::Time::getHour(), bst::Time::getMinute(), bst::Time::getMonth(), bst::Time::getSecond(), and bst::Time::getYear().
| TEST | ( | bst_time | , |
| setToNow | |||
| ) |
References bst::Time::getDay(), bst::Time::getHour(), bst::Time::getMinute(), bst::Time::getMonth(), bst::Time::getSecond(), bst::Time::getYear(), bst::clck::now(), and bst::Time::setToNow().
| TEST | ( | bst_time | , |
| greaterThanLessThanOperators | |||
| ) |
| TEST | ( | bst_time | , |
| secondsFromNow | |||
| ) |
References bst::Time::fromString(), bst::Time::secondsFromNow(), bst::Time::setToNow(), and bst::sleep().