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.

25 lines
598 B

using Models;
namespace Tests
{
public class AbilityTests
{
[Fact]
public void Ability_Constructor_SetsProperties()
{
// Arrange
string name = "Capacité 1";
string image = "image1.png";
string description = "Description de la capacité";
// Act
var ability = new Ability(name, image, description);
// Assert
Assert.Equal(name, ability.Name);
Assert.Equal(image, ability.Image);
Assert.Equal(description, ability.Description);
}
}
}