Created
June 11, 2022 22:38
-
-
Save pmatos2000/7122cf67e03ee522521c8122cb719e2c 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
using MeuProjeto; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace MeusTestes | |
{ | |
[TestClass] | |
public class UtilTestes | |
{ | |
[TestMethod] | |
public void EhPares_TodosElementosPares() | |
{ | |
/// ... | |
} | |
[TestMethod] | |
public void EhPares_ElementosMistos() | |
{ | |
var elementos = new int[] { 1, 2, 3, 4, }; | |
var resultado = Util.EhPares(elementos); | |
Assert.IsFalse(resultado); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment