Created
January 7, 2019 21:15
-
-
Save alefcarlos/0e37c0a7e946a79c751166680675d25d to your computer and use it in GitHub Desktop.
Using [Fact] attribute with xUnit
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
using Shouldly; | |
using Xunit; | |
namespace Problems.Tests | |
{ | |
public class HelpersTess | |
{ | |
[Fact] | |
public void Sum_ShouldBeSuccess() | |
{ | |
Helpers.Sum(1, 2).ShouldBe(3); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment