-
-
Save tuannguyenssu/00f8879dacd647c6e254f38ecaa9f0b1 to your computer and use it in GitHub Desktop.
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
public class MathUtilitiesTest | |
{ | |
[Fact] | |
public void PassingTest() | |
{ | |
int a = 2; | |
int b = 2; | |
int expectedSum = 4; | |
int actualSum = MathUtilities.Add(a, b); | |
Assert.Equal(expectedSum, actualSum); | |
} | |
[Fact] | |
public void FailingTest() | |
{ | |
int a = 2; | |
int b = 2; | |
int expectedSum = 5; | |
int actualSum = MathUtilities.Add(a, b); | |
Assert.Equal(expectedSum, actualSum); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment