-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add more array.sort test combination #68489
Add more array.sort test combination #68489
Conversation
*Added tests for sorting arrays *Separated tests for integer from string *Added comments for integers and strings
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
I assume this is fixing #41376 ? Yes. |
Krzysztof I am very grateful to you for the feedback on the code. |
Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
this was to align indentations of comments and code so they are the same across the file (in the very end of the coding style doc there is |
|
I was thinking of good way to check this PR and here are my conclusions:
Here is how you can check what's covered and what's not locally (after running
If you lack time I'm ok with merging this as is. Please let me know if you plan to further update the PR. |
Krzysztof, you are absolutely right. |
@DDolG you;re seeing two issues there:
Can you save your local changes try doing
I'm not sure what sequence are you referring to. In general debugging through test might help you figure out how to hit specific place in the code (it might not be super trivial because of all of the if statements in the sorting code but it likely will be easier than guessing) - simply open project in VS and on the test explorer window search for test and right click and click Debug (make sure to put a breakpoint in the test first). Also if test is |
Tagging subscribers to this area: @dotnet/area-system-runtime |
Hello. Help me please. I have the impression that I'm not testing correctly. |
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.
Thanks for the contribution, @DDolG! |
@jeffhandley thanks a lot. I am very grateful to you for the trust you have placed in me. |
Fixes: #41376
*Added tests for sorting arrays
*Separated tests for integer from string
*Added comments for integers and strings
EDIT (@krwq): Added
Fixes ...