You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ohara_MAUI/Sources/TestProject1/TestBestiaire.cs

21 lines
625 B

using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestProject1
{
public class TestBestiaire
{
[Fact]
public void ConstructeurBestiaire_ImageEgaleValeurParDefaut_ReturnTrue()
{
Bestiaire test = new Bestiaire("Humains", "??", "Les humains sont ...", "Ils possèdent les caractéristiques suivantes ...");
bool resultat = (test.Image == "baseimage.png");
Assert.True(resultat, "L'image devrait avoir la valeur : baseimage.png");
}
}
}