(buf)
| 9 | const assert = require('assert'); |
| 10 | |
| 11 | function isZeroFilled(buf) { |
| 12 | for (const n of buf) |
| 13 | if (n > 0) return false; |
| 14 | return true; |
| 15 | } |
| 16 | |
| 17 | // We have to consume the data from the pool as otherwise |
| 18 | // we would be testing what's in snapshot, which is zero-filled |
no outgoing calls
no test coverage detected
searching dependent graphs…