Created
June 11, 2022 22:10
-
-
Save pmatos2000/0d97884f4f6ebdc67b39859c687fecf5 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() | |
{ | |
var elementos = new int[] { 2, 4, 6, 8, 10 }; | |
var resultado = Util.EhPares(elementos); | |
Assert.IsTrue(resultado); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment