| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #ifndef ZHURIN_I_RING_TOPOLOGY_COMMON_INCLUDE_COMMON_HPP_ | ||
| 2 | #define ZHURIN_I_RING_TOPOLOGY_COMMON_INCLUDE_COMMON_HPP_ | ||
| 3 | |||
| 4 | #include <tuple> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | namespace zhurin_i_ring_topology { | ||
| 8 | |||
| 9 |
4/6✓ Branch 1 taken 236 times.
✓ Branch 2 taken 3136 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 236 times.
✓ Branch 9 taken 11212 times.
✗ Branch 10 not taken.
|
23220 | struct RingMessage { |
| 10 | int source = 0; | ||
| 11 | int dest = 0; | ||
| 12 | std::vector<int> data; | ||
| 13 | bool go_clockwise = true; | ||
| 14 | }; | ||
| 15 | |||
| 16 | using InType = RingMessage; | ||
| 17 | using OutType = std::vector<int>; | ||
| 18 | using TestType = std::tuple<int, RingMessage>; | ||
| 19 | |||
| 20 | } // namespace zhurin_i_ring_topology | ||
| 21 | |||
| 22 | #endif // ZHURIN_I_RING_TOPOLOGY_COMMON_INCLUDE_COMMON_HPP_ | ||
| 23 |