Searched refs:test_ce (Results 1 – 4 of 4) sorted by relevance
/external/libcxx/test/std/experimental/string.view/string.view.modifiers/ |
D | remove_prefix.pass.cpp | 41 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()
|
D | remove_suffix.pass.cpp | 41 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()
|
D | swap.pass.cpp | 38 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()
|
D | clear.pass.cpp | 34 constexpr size_t test_ce ( size_t n ) { in test_ce() function 62 static_assert ( test_ce (5) == 0, "" ); in main()
|