Last active
December 1, 2019 19:44
-
-
Save codingfab/aebd10dba5c7daa8d18c1400f2bcd0c5 to your computer and use it in GitHub Desktop.
ExpectedResult usage
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
[TestFixture] | |
public class MyComplexLogicShould | |
{ | |
[Test] | |
[TestCase(10, 22, ExpectedResult = 32)] | |
public int ReturnExpectedResult(int a, int b) | |
{ | |
var sut = new MyClass(); | |
return sut.MyComplexLogic(a,b); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment