dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

Fix unit tests assertion parameters for expected and actual values

Open Arlodotexe opened this issue 2 years ago • 0 comments

Expected behavior

In unit tests, Assert methods such as Assert.AreEqual(value, otherValue) should have the first parameter be the expected value, second parameter the actual value.

Current behavior

Some correct usage, mostly backwards. Example

Arlodotexe avatar Dec 04 '21 01:12 Arlodotexe