enlever code inutile
continuous-integration/drone/push Build is passing Details

test_dice_group_manager
mohammad_zafir.jeeawody 3 years ago
parent 17a2e18c2d
commit c6e5991e99

@ -85,18 +85,15 @@ namespace Tests.Data_UTs.Dice
{ {
{ "", new List<NumberDie>{ new NumberDie(d6Faces[0], d6Faces[1..]), new NumberDie(d6Faces[0], d6Faces[3..]) } } { "", new List<NumberDie>{ new NumberDie(d6Faces[0], d6Faces[1..]), new NumberDie(d6Faces[0], d6Faces[3..]) } }
}; };
Dictionary<string, IEnumerable<Die>> toAdd = new();
void action() => expected = new() /* void action() => toAdd.Add("", new List<NumberDie>{ new NumberDie(d6Faces[0], d6Faces[1..]),
{ new NumberDie(d6Faces[0], d6Faces[3..])}); */
{ "", new List<NumberDie>{ new NumberDie(d6Faces[0], d6Faces[1..]), new NumberDie(d6Faces[0], d6Faces[3..]) } }
};
// Xunit.Assert.Empty(expected.Keys); // Xunit.Assert.Empty(expected.Keys);
foreach (KeyValuePair<string, IEnumerable<Die>> entry in expected) foreach (KeyValuePair<string, IEnumerable<Die>> entry in expected)
{ {
Xunit.Assert.Empty(entry.Key); Xunit.Assert.Empty(entry.Key);
// do something with entry.Value or entry.Key // do something with entry.Value or entry.Key
} }
} }

Loading…
Cancel
Save