| 50 | constexpr MatchTrueMatcher MatchTrue() { return MatchTrueMatcher(); } |
| 51 | |
| 52 | constexpr std::array<bool, 3> compute_bools( int type ) { |
| 53 | switch ( type ) { |
| 54 | case 0: |
| 55 | return { true, true, true }; |
| 56 | case 1: |
| 57 | return { false, true, false }; |
| 58 | case 2: |
| 59 | return { false, false, false }; |
| 60 | case 3: |
| 61 | return { true, false, false }; |
| 62 | case 4: |
| 63 | return { true, true, false }; |
| 64 | default: |
| 65 | return { false, false, false }; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | } // namespace |
| 70 |
no outgoing calls
no test coverage detected