MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / TYPED_TEST

Function TYPED_TEST

tests/customizations.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10TYPED_TEST_SUITE(customizations, FixedTypes);
11
12TYPED_TEST(customizations, swap)
13{
14 using std::swap;
15
16 using P = TypeParam;
17 P x{1}, y{2};
18 swap(x, y);
19 EXPECT_EQ(P{2}, x);
20 EXPECT_EQ(P{1}, y);
21}
22
23TYPED_TEST(customizations, hash)
24{

Callers

nothing calls this directly

Calls 1

max_digits10Function · 0.85

Tested by

no test coverage detected