Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for encodeWithByteRanges #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

1 participant