I want to make test for my method and I can pass 2 string variables, but I don't know how to pass Dictionary. It looks like this:
[Test]
[TestCase("agr1", "askdwskdls", Dictionary<TypeMeasurement,double>)]
public void SendDataToAgregator_GoodVariables_ReturnsOn(string agrID,string devID, Dictionary<TypeMeasurement, double> measurement)
{
}
TypeMeasurement is enum and I know that this is not how u pass dictionary, but I don't know how, so I place it there so that u know what I want to do.
Aucun commentaire:
Enregistrer un commentaire