| 15 | #include <vector> |
| 16 | |
| 17 | TEST(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 | |
| 29 | TEST(ChannelTest, ConstructStaticChannel) |
| 30 | { |
nothing calls this directly
no test coverage detected