libept
Namespaces | Macros | Functions | Variables
tests.cc File Reference
#include "tests.h"
#include "string.h"
#include <fnmatch.h>
#include <cmath>
#include <iomanip>
#include <sys/types.h>
#include <regex.h>

Namespaces

 ept
 String functions.
 
 ept::tests
 

Macros

#define _ept_log10   ((double) 2.30258509299)
 

Functions

void ept::tests::assert_startswith (const std::string &actual, const std::string &expected)
 Ensure that the string actual starts with expected. More...
 
void ept::tests::assert_endswith (const std::string &actual, const std::string &expected)
 Ensure that the string actual ends with expected. More...
 
void ept::tests::assert_contains (const std::string &actual, const std::string &expected)
 Ensure that the string actual contains expected. More...
 
void ept::tests::assert_not_contains (const std::string &actual, const std::string &expected)
 Ensure that the string actual does not contain expected. More...
 
void ept::tests::assert_re_matches (const std::string &actual, const std::string &expected)
 Ensure that the string actual matches the extended regular expression expected. More...
 
void ept::tests::assert_not_re_matches (const std::string &actual, const std::string &expected)
 Ensure that the string actual does not match the extended regular expression expected. More...
 
void ept::tests::assert_true (std::nullptr_t actual)
 
void ept::tests::assert_false (std::nullptr_t actual)
 

Variables

const ept::tests::LocationInfo ept_test_location_info
 

Macro Definition Documentation

#define _ept_log10   ((double) 2.30258509299)

Variable Documentation

regex_t compiled
const ept::tests::LocationInfo ept_test_location_info