|
LRAUV
revA
|
Unit Tests for class Timespan. More...
#include <Timestamp_Test.h>


Public Member Functions | |
| void | testConstructorNoArguments (void) |
Tests:
| |
| void | testConstructorDoubleArg (void) |
Tests:
| |
| void | testConstructorCopyArg (void) |
Constructor with copy param tests
| |
| void | testCopyOperator (void) |
| Copy operator. More... | |
| void | testSetOperatorOne (void) |
| Set operator. More... | |
| void | testSetOperatorTwo (void) |
| void | testAdditionAndSubtraction (void) |
| Standard addition/subtraction functions. More... | |
| void | testInquality (void) |
| Inequality operator. More... | |
| void | testSleepFor (void) |
| Test the sleepFor function. More... | |
| void | testToString (void) |
|
inline |
Standard addition/subtraction functions.
Tests for each:
References TIMESPAN_FUDGE().
|
inline |
Constructor with copy param tests
asDouble == asDouble
References Timespan::asDouble().
|
inline |
Tests:
References Timespan::asDouble().
|
inline |
Tests:
Expect ZERO_TIMESPAN
References Timespan::asDouble(), and Timespan::ZERO_TIMESPAN.
|
inline |
Copy operator.
Test:
References Timestamp::asDouble().
|
inline |
Inequality operator.
Tests:
|
inline |
Set operator.
Test:
References Timestamp::asDouble().
|
inline |
References Timestamp::asDouble().
|
inline |
Test the sleepFor function.
References Timespan::Milliseconds(), Timestamp::Now(), and Timespan::sleepFor().
|
inline |
References Timespan::toString().