Conversation
…into dev-nkolev92-w
|
Thanks for the review @awesley. :) |
b9882c7 to
dad63c9
Compare
| var valid = FloatRange.TryParse(floatVersionString, out range); | ||
|
|
||
| // Assert | ||
| Assert.True(valid); |
There was a problem hiding this comment.
Can range verification added in the test as well?
There was a problem hiding this comment.
Can you clarify what specifically you are referring to?
test/NuGet.Core.Tests/NuGet.Versioning.Test/FloatingRangeTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.Tests/NuGet.Versioning.Test/FloatingRangeTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.Tests/NuGet.Versioning.Test/FloatingRangeTests.cs
Outdated
Show resolved
Hide resolved
test/NuGet.Core.Tests/NuGet.Versioning.Test/VersionRangeFloatParsingTests.cs
Show resolved
Hide resolved
|
@donnie-msft Addressed feedback in the latest commit. |
There was a problem hiding this comment.
@donnie-msft Addressed feedback in the latest commit.
Resolved the accepted comments, replied to the other 2.
Thanks. Looks good, but I'll let someone else approve to overrule on the coding guideline.
|
I have change the test names and moved them around in better classes as per what I suggested in the TODO that @donnie-msft commented on #3247 (comment). PTAL. |
dominoFire
left a comment
There was a problem hiding this comment.
Looks good. Just style and variable assigments comments.
test/NuGet.Core.Tests/NuGet.Versioning.Test/FloatingRangeTests.cs
Outdated
Show resolved
Hide resolved
|
I broke my tests somehow :( |
|
I had an off by 2 error. Will merge once tests are green. |
Bug
Fixes: NuGet/Home#912
Regression: No
Fix
Details: Spec at https://github.com/NuGet/Home/blob/dev/designs/FloatingStableAndPrerelease.md
You can test out the implementation at the following link
Testing/Validation
Tests Added: Yes
Reason for not adding tests:
Validation: Lots of unit tests, covering all scenarios.