Home
last modified time | relevance | path

Searched refs:swap_test (Results 1 – 3 of 3) sorted by relevance

/system/utest/fbl/
A Dintrusive_container_tests.cpp16 bool swap_test(const T initial_a, const T initial_b) { in swap_test() function
33 bool swap_test() { in swap_test() function
40 EXPECT_TRUE(swap_test<char>('a', 'b')); in swap_test()
41 EXPECT_TRUE(swap_test<int8_t>(-5, 10)); in swap_test()
42 EXPECT_TRUE(swap_test<uint8_t>(5, 10)); in swap_test()
43 EXPECT_TRUE(swap_test<int16_t>(-12345, 12345)); in swap_test()
44 EXPECT_TRUE(swap_test<uint16_t>(12345, 54321)); in swap_test()
49 EXPECT_TRUE(swap_test<float>(-0.1234567f, 0.7654321f)); in swap_test()
59 EXPECT_TRUE(swap_test<void*>(&a, &b)); in swap_test()
60 EXPECT_TRUE(swap_test<SimpleBigStruct*>(&a, &b)); in swap_test()
[all …]
A Dunique_fd_tests.cpp99 bool swap_test() { in swap_test() function
222 RUN_TEST(swap_test)
A Dstring_tests.cpp625 bool swap_test() { in swap_test() function
851 RUN_TEST(swap_test)

Completed in 7 milliseconds