Skip to content

Conversation

@jerinphilip
Copy link

encodeWithByteRanges tries to additionally provide string_views corresponding
to the sourcetokens where the words came from. To assert this works, the
following method is used:

The alignments provided by encodeWithByteRanges should match the intended
tokens in the input. The expected tokens are provided as .expected while the
output is generated through encodeWithByteRanges's alignments.

encodeWithByteRanges tries to additionally provide string_views corresponding
to the sourcetokens where the words came from. To assert this works, the
following method is used:

The alignments provided by encodeWithByteRanges should match the intended
tokens in the input. The intended tokens are provided as .expected while the
output is generated through encodeWithByteRanges's alignments.
@jerinphilip jerinphilip requested a review from kpu February 3, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants