Created
December 28, 2020 15:27
-
-
Save javierguerrero/12f074b866bbb8dbb228c96cbf46896e to your computer and use it in GitHub Desktop.
xUnit Fact
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
[Fact] | |
public void IsPrime_InputIs1_ReturnFalse() | |
{ | |
var primeService = new PrimeService(); | |
bool result = primeService.IsPrime(1); | |
Assert.False(result, "1 should not be prime"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment