<commit_before>/**********************************************************\

  This file is distributed under the MIT License.
  See https://github.com/morzhovets/momo/blob/master/LICENSE
  for details.

  tests/LibcxxVectorTests.h

\**********************************************************/

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(asan_throw)
#include "libcxx/vector/asan_throw.pass.cpp"
LIBCXX_TEST_END
#endif

//LIBCXX_TEST_BEGIN(const_value_type)
//#include "libcxx/vector/const_value_type.pass.cpp"
//LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_back)
#include "libcxx/vector/db_back.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cback)
#include "libcxx/vector/db_cback.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cfront)
#include "libcxx/vector/db_cfront.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cindex)
#include "libcxx/vector/db_cindex.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_front)
#include "libcxx/vector/db_front.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_index)
#include "libcxx/vector/db_index.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_ARRAY

LIBCXX_TEST_BEGIN(db_iterators_2)
#include "libcxx/vector/db_iterators_2.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_3)
#include "libcxx/vector/db_iterators_3.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_4)
#include "libcxx/vector/db_iterators_4.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_5)
#include "libcxx/vector/db_iterators_5.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_6)
#include "libcxx/vector/db_iterators_6.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_7)
#include "libcxx/vector/db_iterators_7.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_8)
#include "libcxx/vector/db_iterators_8.pass.cpp"
LIBCXX_TEST_END

#endif

LIBCXX_TEST_BEGIN(iterators)
#include "libcxx/vector/iterators.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(types)
#include "libcxx/vector/types.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_SEGMENTED_ARRAY

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(capacity_capacity)
#include "libcxx/vector/vector.capacity/capacity.pass.cpp"
LIBCXX_TEST_END
#endif

LIBCXX_TEST_BEGIN(capacity_reserve)
#include "libcxx/vector/vector.capacity/reserve.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_resize_size)
#include "libcxx/vector/vector.capacity/resize_size.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_resize_size_value)
#include "libcxx/vector/vector.capacity/resize_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_shrink_to_fit)
#include "libcxx/vector/vector.capacity/shrink_to_fit.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_swap)
#include "libcxx/vector/vector.capacity/swap.pass.cpp"
LIBCXX_TEST_END

#endif

LIBCXX_TEST_BEGIN(empty)
#include "libcxx/vector/vector.capacity/empty.pass.cpp"
LIBCXX_TEST_END

//LIBCXX_TEST_BEGIN(max_size)
//#include "libcxx/vector/vector.capacity/max_size.pass.cpp"
//LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(size)
#include "libcxx/vector/vector.capacity/size.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_copy)
#include "libcxx/vector/vector.cons/assign_copy.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_initializer_list)
#include "libcxx/vector/vector.cons/assign_initializer_list.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_move)
#include "libcxx/vector/vector.cons/assign_move.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_size_value)
#include "libcxx/vector/vector.cons/assign_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_default)
#include "libcxx/vector/vector.cons/construct_default.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_iter_iter)
#include "libcxx/vector/vector.cons/construct_iter_iter.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_iter_iter_alloc)
#include "libcxx/vector/vector.cons/construct_iter_iter_alloc.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(cons_construct_size)
#include "libcxx/vector/vector.cons/construct_size.pass.cpp"
LIBCXX_TEST_END
#endif

LIBCXX_TEST_BEGIN(cons_construct_size_value)
#include "libcxx/vector/vector.cons/construct_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_size_value_alloc)
#include "libcxx/vector/vector.cons/construct_size_value_alloc.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_copy)
#include "libcxx/vector/vector.cons/copy.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_copy_alloc)
#include "libcxx/vector/vector.cons/copy_alloc.pass.cpp"
LIBCXX_TEST_END

#ifdef LIBCXX_TEST_ARRAY
#ifdef MOMO_HAS_DEDUCTION_GUIDES
LIBCXX_TEST_BEGIN(cons_deduct)
#include "libcxx/vector/vector.cons/deduct.pass.cpp"<commit_msg>Test deduction guides<commit_after>/**********************************************************\

  This file is distributed under the MIT License.
  See https://github.com/morzhovets/momo/blob/master/LICENSE
  for details.

  tests/LibcxxVectorTests.h

\**********************************************************/

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(asan_throw)
#include "libcxx/vector/asan_throw.pass.cpp"
LIBCXX_TEST_END
#endif

//LIBCXX_TEST_BEGIN(const_value_type)
//#include "libcxx/vector/const_value_type.pass.cpp"
//LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_back)
#include "libcxx/vector/db_back.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cback)
#include "libcxx/vector/db_cback.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cfront)
#include "libcxx/vector/db_cfront.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_cindex)
#include "libcxx/vector/db_cindex.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_front)
#include "libcxx/vector/db_front.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_index)
#include "libcxx/vector/db_index.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_ARRAY

LIBCXX_TEST_BEGIN(db_iterators_2)
#include "libcxx/vector/db_iterators_2.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_3)
#include "libcxx/vector/db_iterators_3.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_4)
#include "libcxx/vector/db_iterators_4.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_5)
#include "libcxx/vector/db_iterators_5.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_6)
#include "libcxx/vector/db_iterators_6.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_7)
#include "libcxx/vector/db_iterators_7.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(db_iterators_8)
#include "libcxx/vector/db_iterators_8.pass.cpp"
LIBCXX_TEST_END

#endif

LIBCXX_TEST_BEGIN(iterators)
#include "libcxx/vector/iterators.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(types)
#include "libcxx/vector/types.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_SEGMENTED_ARRAY

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(capacity_capacity)
#include "libcxx/vector/vector.capacity/capacity.pass.cpp"
LIBCXX_TEST_END
#endif

LIBCXX_TEST_BEGIN(capacity_reserve)
#include "libcxx/vector/vector.capacity/reserve.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_resize_size)
#include "libcxx/vector/vector.capacity/resize_size.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_resize_size_value)
#include "libcxx/vector/vector.capacity/resize_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_shrink_to_fit)
#include "libcxx/vector/vector.capacity/shrink_to_fit.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(capacity_swap)
#include "libcxx/vector/vector.capacity/swap.pass.cpp"
LIBCXX_TEST_END

#endif

LIBCXX_TEST_BEGIN(empty)
#include "libcxx/vector/vector.capacity/empty.pass.cpp"
LIBCXX_TEST_END

//LIBCXX_TEST_BEGIN(max_size)
//#include "libcxx/vector/vector.capacity/max_size.pass.cpp"
//LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(size)
#include "libcxx/vector/vector.capacity/size.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_copy)
#include "libcxx/vector/vector.cons/assign_copy.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_initializer_list)
#include "libcxx/vector/vector.cons/assign_initializer_list.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_move)
#include "libcxx/vector/vector.cons/assign_move.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_assign_size_value)
#include "libcxx/vector/vector.cons/assign_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_default)
#include "libcxx/vector/vector.cons/construct_default.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_iter_iter)
#include "libcxx/vector/vector.cons/construct_iter_iter.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_iter_iter_alloc)
#include "libcxx/vector/vector.cons/construct_iter_iter_alloc.pass.cpp"
LIBCXX_TEST_END

#ifndef LIBCXX_TEST_INTCAP_ARRAY
LIBCXX_TEST_BEGIN(cons_construct_size)
#include "libcxx/vector/vector.cons/construct_size.pass.cpp"
LIBCXX_TEST_END
#endif

LIBCXX_TEST_BEGIN(cons_construct_size_value)
#include "libcxx/vector/vector.cons/construct_size_value.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_construct_size_value_alloc)
#include "libcxx/vector/vector.cons/construct_size_value_alloc.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_copy)
#include "libcxx/vector/vector.cons/copy.pass.cpp"
LIBCXX_TEST_END

LIBCXX_TEST_BEGIN(cons_copy_alloc)
#include "libcxx/vector/vector.cons/copy_alloc.pass.cpp"
LIBCXX_TEST_END

#ifdef LIBCXX_TEST_ARRAY
#ifdef LIBCPP_TEST_DEDUCTION_GUIDES
LIBCXX_TEST_BEGIN(cons_deduct)
#include "libcxx/vector/vector.cons/deduct.pass.cpp"
{'fraction_non_alphanumeric': 0.11744788911226325, 'fraction_numerical': 0.002962649455084118, 'mean_word_length': 9.023329798515377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7296094', 'n_tokens_mistral': 3951, 'n_tokens_neox': 3784, 'n_words': 377}