MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/reusable/test_vector.cpp:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26TEST_F(ReusableVectorTest, trivial_as_element) {
27 ASSERT_TRUE(::std::is_trivially_destructible<SwissVector<int>>::value);
28 ASSERT_TRUE(
29 ::std::is_trivially_destructible<SwissVector<SwissString>>::value);
30 struct S {
31 ~S() {}
32 } s;
33 ASSERT_FALSE(::std::is_trivially_destructible<SwissVector<S>>::value);
34}
35
36TEST_F(ReusableVectorTest, constructible_with_allocator) {
37 {

Callers

nothing calls this directly

Calls 15

swapFunction · 0.85
constructed_sizeMethod · 0.80
emplace_backMethod · 0.80
assignMethod · 0.80
eraseMethod · 0.80
emptyMethod · 0.45
capacityMethod · 0.45
sizeMethod · 0.45
backMethod · 0.45
containsMethod · 0.45
dataMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected