| 48 | } |
| 49 | |
| 50 | static EdgeColor initColor(unsigned long long &seed) { |
| 51 | static const EdgeColor colors[3] = { CYAN, MAGENTA, YELLOW }; |
| 52 | return colors[seedExtract3(seed)]; |
| 53 | } |
| 54 | |
| 55 | static void switchColor(EdgeColor &color, unsigned long long &seed) { |
| 56 | int shifted = color<<(1+seedExtract2(seed)); |
no test coverage detected