Skip to content

Instantly share code, notes, and snippets.

@alefcarlos
Created January 7, 2019 21:15
Show Gist options
  • Save alefcarlos/0e37c0a7e946a79c751166680675d25d to your computer and use it in GitHub Desktop.
Save alefcarlos/0e37c0a7e946a79c751166680675d25d to your computer and use it in GitHub Desktop.
Using [Fact] attribute with xUnit
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