libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
stack_strings_mixed_size.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include "core/stack_string.hpp"
Include dependency graph for stack_strings_mixed_size.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Typedefs

using stack_string_12 = basic_stack_string< 12, char >
 

Functions

 BOOST_AUTO_TEST_CASE (ctor_swap)
 
 BOOST_AUTO_TEST_CASE (small_big_ctor_assignment)
 
 BOOST_AUTO_TEST_CASE (big_small_ctor_assignment)
 
 BOOST_AUTO_TEST_CASE (small_big_ctor_move_assignment)
 
 BOOST_AUTO_TEST_CASE (big_small_ctor_move_assignment)
 
 BOOST_AUTO_TEST_CASE (reserve_big_to_small_str)
 
 BOOST_AUTO_TEST_CASE (reserve_small_to_big_str)
 
 BOOST_AUTO_TEST_CASE (resize_smaller)
 
 BOOST_AUTO_TEST_CASE (resize_bigger)
 
 BOOST_AUTO_TEST_CASE (resize_smaller_init)
 
 BOOST_AUTO_TEST_CASE (resize_bigger_init)
 
 BOOST_AUTO_TEST_CASE (push_back)
 
 BOOST_AUTO_TEST_CASE (insert_str_end)
 
 BOOST_AUTO_TEST_CASE (insert_str_begin)
 
 BOOST_AUTO_TEST_CASE (insert_str_internal)
 
 BOOST_AUTO_TEST_CASE (erase_begin_one)
 
 BOOST_AUTO_TEST_CASE (erase_end_one)
 
 BOOST_AUTO_TEST_CASE (erase_middle_one)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file stack_strings_mixed_size.cpp.

Typedef Documentation

◆ stack_string_12

using stack_string_12 = basic_stack_string<12, char>

Definition at line 28 of file stack_strings_mixed_size.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/18]

BOOST_AUTO_TEST_CASE ( big_small_ctor_assignment  )

Definition at line 64 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/18]

BOOST_AUTO_TEST_CASE ( big_small_ctor_move_assignment  )

Definition at line 90 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/18]

BOOST_AUTO_TEST_CASE ( ctor_swap  )

Definition at line 34 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/18]

BOOST_AUTO_TEST_CASE ( erase_begin_one  )

Definition at line 238 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/18]

BOOST_AUTO_TEST_CASE ( erase_end_one  )

Definition at line 252 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/18]

BOOST_AUTO_TEST_CASE ( erase_middle_one  )

Definition at line 266 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/18]

BOOST_AUTO_TEST_CASE ( insert_str_begin  )

Definition at line 208 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/18]

BOOST_AUTO_TEST_CASE ( insert_str_end  )

Definition at line 193 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/18]

BOOST_AUTO_TEST_CASE ( insert_str_internal  )

Definition at line 223 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/18]

BOOST_AUTO_TEST_CASE ( push_back  )

Definition at line 179 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/18]

BOOST_AUTO_TEST_CASE ( reserve_big_to_small_str  )

Definition at line 107 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/18]

BOOST_AUTO_TEST_CASE ( reserve_small_to_big_str  )

Definition at line 119 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/18]

BOOST_AUTO_TEST_CASE ( resize_bigger  )

Definition at line 142 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/18]

BOOST_AUTO_TEST_CASE ( resize_bigger_init  )

Definition at line 165 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/18]

BOOST_AUTO_TEST_CASE ( resize_smaller  )

Definition at line 131 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/18]

BOOST_AUTO_TEST_CASE ( resize_smaller_init  )

Definition at line 153 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/18]

BOOST_AUTO_TEST_CASE ( small_big_ctor_assignment  )

Definition at line 51 of file stack_strings_mixed_size.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/18]

BOOST_AUTO_TEST_CASE ( small_big_ctor_move_assignment  )

Definition at line 77 of file stack_strings_mixed_size.cpp.