libept
Namespaces | 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

namespace  ept
 String functions.
 
namespace  ept::tests
 

Functions

void ept::tests::assert_startswith (const std::string &actual, const std::string &expected)
 Ensure that the string actual starts with expected.
 
void ept::tests::assert_endswith (const std::string &actual, const std::string &expected)
 Ensure that the string actual ends with expected.
 
void ept::tests::assert_contains (const std::string &actual, const std::string &expected)
 Ensure that the string actual contains expected.
 
void ept::tests::assert_not_contains (const std::string &actual, const std::string &expected)
 Ensure that the string actual does not contain expected.
 
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.
 
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.
 
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
 

Variable Documentation

◆ compiled

regex_t compiled

◆ ept_test_location_info

const ept::tests::LocationInfo ept_test_location_info