-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the tests and add documentation.
New approach replaces ...Helper with CollectResize to make the tests easier to understand. In particular: - Replaced the need for '...Helper' abstractions with a more descriptive function 'ResizeBufferMidIteration', which the .every method can call directly. - Moved 'let values' back outside of the loops, together with a function definition 'ResizeBufferMidIteration' to persist the side effects that 'CollectValuesAndResize' has on 'values' but without having to define this inside every loop. + So this reverts commit d9a2bac and + this reverts commit 0bc2d66. - Added documentation.
- Loading branch information
Showing
6 changed files
with
191 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.