From c6e5991e99d98323c659cbc55e52061b2b77639c Mon Sep 17 00:00:00 2001 From: "mohammad_zafir.jeeawody" Date: Wed, 12 Oct 2022 02:55:12 +0200 Subject: [PATCH] enlever code inutile --- Sources/Tests/Data_UTs/Dice/DiceGroupManagerTest.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Sources/Tests/Data_UTs/Dice/DiceGroupManagerTest.cs b/Sources/Tests/Data_UTs/Dice/DiceGroupManagerTest.cs index 435f53b..54e4423 100644 --- a/Sources/Tests/Data_UTs/Dice/DiceGroupManagerTest.cs +++ b/Sources/Tests/Data_UTs/Dice/DiceGroupManagerTest.cs @@ -85,18 +85,15 @@ namespace Tests.Data_UTs.Dice { { "", new List{ new NumberDie(d6Faces[0], d6Faces[1..]), new NumberDie(d6Faces[0], d6Faces[3..]) } } }; - - void action() => expected = new() - { - { "", new List{ new NumberDie(d6Faces[0], d6Faces[1..]), new NumberDie(d6Faces[0], d6Faces[3..]) } } - }; + Dictionary> toAdd = new(); +/* void action() => toAdd.Add("", new List{ new NumberDie(d6Faces[0], d6Faces[1..]), + new NumberDie(d6Faces[0], d6Faces[3..])}); */ // Xunit.Assert.Empty(expected.Keys); foreach (KeyValuePair> entry in expected) { Xunit.Assert.Empty(entry.Key); // do something with entry.Value or entry.Key } - }