Last active
December 3, 2019 17:10
-
-
Save codingfab/a1411f76ce33bdf3a3870f7a208c5aa2 to your computer and use it in GitHub Desktop.
Starting point
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] | |
public void ReturnExpectedResult() | |
{ | |
// Arrange | |
var a = 10; | |
var b = 22; | |
var expected = 32; | |
var sut = new MyClass(); | |
// Act | |
var result = sut.MyComplexLogic(a,b); | |
// Assert | |
Assert.That(result,Is.EqualTo(expected)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment