Xbase64 4.0.1
C++ Library for handling Xbase (DBF) format type files
Functions | Variables
tstfuncs.cpp File Reference

Functions

xbDouble ChronTime ()
 
void InitTime ()
 
xbBool dblEquals (xbDouble a, xbDouble b, xbDouble epsilon)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, const xbString &result, const char *expectedResult, size_t expectedLen)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, char result, char expectedResult)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, xbInt32 result, xbInt32 expectedResult)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, xbUInt64 result, xbUInt64 expectedResult)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, xbFloat result, xbFloat expectedResult)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, xbDouble result, xbDouble expectedResult)
 
xbInt16 TestMethod (xbInt16 PrintOption, const char *title, xbDouble result, xbDouble expectedResult, xbDouble dEpsilon)
 
xbDouble dblMax (xbDouble a, xbDouble b)
 
xbDouble dblMin (xbDouble a, xbDouble b)
 

Variables

time_t timer
 

Function Documentation

◆ ChronTime()

xbDouble ChronTime ( )

◆ dblEquals()

xbBool dblEquals ( xbDouble  a,
xbDouble  b,
xbDouble  epsilon = 0.0001 
)

◆ dblMax()

xbDouble dblMax ( xbDouble  a,
xbDouble  b 
)

◆ dblMin()

xbDouble dblMin ( xbDouble  a,
xbDouble  b 
)

◆ InitTime()

void InitTime ( )

◆ TestMethod() [1/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
char  result,
char  expectedResult 
)

◆ TestMethod() [2/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
const xbString &  result,
const char *  expectedResult,
size_t  expectedLen 
)

◆ TestMethod() [3/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
xbDouble  result,
xbDouble  expectedResult 
)

◆ TestMethod() [4/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
xbDouble  result,
xbDouble  expectedResult,
xbDouble  dEpsilon 
)

◆ TestMethod() [5/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
xbFloat  result,
xbFloat  expectedResult 
)

◆ TestMethod() [6/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
xbInt32  result,
xbInt32  expectedResult 
)

◆ TestMethod() [7/7]

xbInt16 TestMethod ( xbInt16  PrintOption,
const char *  title,
xbUInt64  result,
xbUInt64  expectedResult 
)

Variable Documentation

◆ timer

time_t timer