Created
September 12, 2018 14:30
-
-
Save vcaraulean/1833793f4fa8e2e2ed01dd803c169aad to your computer and use it in GitHub Desktop.
Nunit 3.10.1 and NUnit 3.9.0 have different results in asserting this scenario
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
[Test] | |
public void EquivalentCollection() | |
{ | |
var c1 = new[] { 1, 2, 3 }; | |
var c2 = new[] { 1, 2, 3 }; | |
Assert.That(c1, Is.EquivalentTo(c2).Using<int, int>((first, second) => | |
{ | |
Assert.That(first, Is.EqualTo(second)); | |
return true; | |
})); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment