Skip to content

Converted integral stream testing to min/max/mid style. #29

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

Conversation

pjohnmeyer
Copy link
Member

This addresses #14 more thoroughly. While I believe the core issue had already been fixed, there seemed to be a lack of testing around integral streaming so I employed min/mid/max and hard-coded correct strings. I probably could have done something more clever that didn't require the repeated sizeof calls, but ultimately decided on simple code with no additional template or macro magic.

…ded strings for each sizeof() the common integral sizes to eliminate dependency on platform-specific sizes.
pjohnmeyer added a commit that referenced this pull request Feb 9, 2013
…MemoryOutStream

Converted integral stream testing to min/max/mid style. Fixes #14.
@pjohnmeyer pjohnmeyer merged commit d598bdd into unittest-cpp:master Feb 9, 2013
@pjohnmeyer pjohnmeyer deleted the removeSizeDependenciesFromTestMemoryOutStream branch February 9, 2013 05:48
pjohnmeyer added a commit that referenced this pull request Apr 4, 2015
…MemoryOutStream

Converted integral stream testing to min/max/mid style. Fixes #14.
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