Created
June 11, 2015 17:53
-
-
Save munirwanis/f671481fef31423a4027 to your computer and use it in GitHub Desktop.
Projeto de testes no VisualStudio
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
[TestClass] | |
public class UnitTest1 { | |
[TestMethod] | |
public void TestCalcSoma() { | |
int x = 10; | |
int y = 20; | |
int result; | |
Calc calc = new Calc(); | |
result = calc.Somar(x, y); | |
Assert.IsTrue(result == (x + y)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment