#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/stack_string.hpp"
#include "core/ave_deviation_meter.hpp"
#include "core/stats_output.hpp"
#include <chrono>
#include <iostream>
#include <string>
#include <ext/vstring.h>
Go to the source code of this file.
|
using | timed_results_t = ave_deviation_meter< unsigned long long > |
|
typedef boost::mpl::list< basic_stack_string< 12, char >, std::string, __gnu_cxx::__vstring > | string_types |
|
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (small_ctor, T, string_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (big_ctor, T, string_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (small_assignment, T, string_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (big_assignment, T, string_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (small_replace, T, string_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (big_replace, T, string_types) |
|
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE libjmmcg_tests |
◆ string_types
typedef boost::mpl::list< basic_stack_string< 12, char >, std::string, __gnu_cxx::__vstring > string_types |
◆ timed_results_t
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
big_assignment |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
big_ctor |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
big_replace |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
small_assignment |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
small_ctor |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [6/6]
BOOST_AUTO_TEST_CASE_TEMPLATE |
( |
small_replace |
, |
|
|
T |
, |
|
|
string_types |
|
|
) |
| |
◆ loops_for_conv
const unsigned short loops_for_conv =50 |
◆ perc_conv_estimate
const double perc_conv_estimate =5.0 |
◆ test_size
const unsigned long test_size =100U |