-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fixing more unit tests #142
Merged
Merged
Conversation
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
Simple remark and set the IsSigned to false for the UInt64 convert method. Just documentation since IsSigned would be set to false in the native code anyhow. Removed and changed any tests that required the ToString() methods for double and float to handle their max values. Most of the tests now look at the actual double/float as stored which uses the IEEE 574 format. Hex display is used for actual asserts. Added message lines to tests as needed to be able to tell which test was actually failing. Fixes #715
Removed checks for hex values for some values since different platforms can calculate a double differently. Cleaned up comments. Fix #715
Added a new FormatException type to match .net core for errors in parsing to numbers. In a few cases upgraded from an Exception to an ArgumentOutOfRangeException to match .net core. Removed unneeded debug statements from tests that are now fixed. In many cases added messages to tests so we can identify the soruce of a failed test. Upgraded version of CoreLibrary to account for new FormatException type. Goes with matching nanoCLR with new checksums and new version for mscorlib. Fix #708
josesimoes
reviewed
May 29, 2021
Nice improvement!! 💯 👍🏻 |
Added new FormatException to no-reflection project. Cleaned up a few debug.writeline comments that are no longer needed. Fix #708
josesimoes
approved these changes
May 31, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
josesimoes
added
Status: Waiting for native support
and removed
Status: in progress
labels
May 31, 2021
josesimoes
changed the title
Fixes for unit tests for CoreLibrary
Fixing more unit tests
May 31, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
How Has This Been Tested?
Run with Win32 - with and without SUPPORT_ANY_BASE_CONVERSION defined. Run on ESP32-WROOM and STM32F429I-Discovery.
Screenshots
Types of changes
Checklist: