MCPcopy Create free account
hub / github.com/andreiavrammsd/cpp-channel / TEST

Function TEST

tests/channel_test.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include <vector>
16
17TEST(ChannelTest, Traits)
18{
19 using type = int;
20 using channel = msd::channel<type>;
21 EXPECT_TRUE((std::is_same<channel::value_type, type>::value));
22
23 using iterator = msd::blocking_iterator<msd::channel<type>>;
24 EXPECT_TRUE((std::is_same<channel::iterator, iterator>::value));
25
26 EXPECT_TRUE((std::is_same<channel::size_type, std::size_t>::value));
27}
28
29TEST(ChannelTest, ConstructStaticChannel)
30{

Callers

nothing calls this directly

Calls 12

transformFunction · 0.85
back_inserterFunction · 0.85
sizeMethod · 0.80
writeMethod · 0.80
closeMethod · 0.80
readMethod · 0.80
emptyMethod · 0.80
closedMethod · 0.80
drainedMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected