Home
last modified time | relevance | path

Searched refs:test_ce (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/experimental/string.view/string.view.modifiers/
Dremove_prefix.pass.cpp41 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function
70 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main()
71 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main()
72 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main()
73 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
Dremove_suffix.pass.cpp41 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function
70 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main()
71 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main()
72 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main()
73 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
Dswap.pass.cpp38 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function
69 static_assert ( test_ce (2, 3) == 3, "" ); in main()
70 static_assert ( test_ce (5, 3) == 3, "" ); in main()
71 static_assert ( test_ce (0, 1) == 1, "" ); in main()
Dclear.pass.cpp34 constexpr size_t test_ce ( size_t n ) { in test_ce() function
62 static_assert ( test_ce (5) == 0, "" ); in main()