ConsEco/Code/TestsUnitaires/TU_Compte.cs

18 lines
355 B

2 years ago
using Model;
namespace TestsUnitaires
{
public class TU_Compte
{
2 years ago
[Fact]
public void Ctor_Compte()
{
Compte c = new Compte("Cr<43>dit Agricole", 20000);
Assert.NotNull(c);
Assert.Equal("Cr<43>dit Agricole", c.Nom);
Assert.Equal(20000, c.Solde);
}
2 years ago
}
}