| 85 | //} |
| 86 | |
| 87 | static int |
| 88 | getMargin(const int windowSize, const int tests, const int repeatSize, const int minMargin) |
| 89 | { |
| 90 | (void)minMargin; |
| 91 | assert(windowLongEnough(windowSize, tests, repeatSize, minMargin)); |
| 92 | const int requiredSeqSize = windowSize + tests - 1; |
| 93 | const int margin = (requiredSeqSize - repeatSize + 1) / 2; |
| 94 | assert(margin >= minMargin); |
| 95 | return margin; |
| 96 | } |
| 97 | |
| 98 | static bool |
| 99 | determineShortReadStats(const std::vector<std::string>& readFilenames) |
no test coverage detected