(to RowNumber, d int)
| 422 | } |
| 423 | |
| 424 | func (t *testIterator) SeekTo(to RowNumber, d int) (*IteratorResult, error) { |
| 425 | for j := t.i; j < len(t.rows); j++ { |
| 426 | if EqualRowNumber(d, t.rows[j].RowNumber, to) { |
| 427 | t.i = j + 1 |
| 428 | return &t.rows[j], nil |
| 429 | } |
| 430 | } |
| 431 | return nil, nil |
| 432 | } |
| 433 | |
| 434 | func (t *testIterator) Close() { |
| 435 | } |
nothing calls this directly
no test coverage detected