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.
Dice_App/Sources/MaSoluction/Testeur/TesterStub.cs

26 lines
538 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data;
using Model;
namespace Testeur
{
public class TesterStub
{
[Fact]
public void TesterAddManager()
{
//Arange
Manager m = new Manager(new Stub());
NumberDie nd = new NumberDie("de1",1,6);
// Acct
m.AddDice(nd);
//Assert
Assert.Equal("de1", nd.Name);
}
}
}