From 74b462bc9eda203d26ab57d7a8e9f21dcbf95df2 Mon Sep 17 00:00:00 2001 From: "nicolas.barbosa" Date: Fri, 17 May 2024 19:31:00 +0200 Subject: [PATCH] code smell --- Sources/UnitTesting/PartieUT.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Sources/UnitTesting/PartieUT.cs b/Sources/UnitTesting/PartieUT.cs index 0583ba3..55ab6e7 100644 --- a/Sources/UnitTesting/PartieUT.cs +++ b/Sources/UnitTesting/PartieUT.cs @@ -167,24 +167,6 @@ namespace UnitTesting Assert.True(eventAppelle); } - [Fact] - public void TestCreerCodeJetonNull() - { - IRegles regles = new ReglesClassiques(); - Partie partie = new Partie(regles); - - //Type type = typeof(Partie); - - //FieldInfo? fieldInfo = type.GetField("CreerCode(Code code)", BindingFlags.NonPublic | BindingFlags.Instance); - //Assert.NotNull(fieldInfo); - - //Code? codeSecret = (Code?)fieldInfo.GetValue(plateau); - - //Assert.NotNull(codeSecret); - //plateau.AjouterCode(codeSecret); - //Assert.True(plateau.Victoire); - } - [Fact] public void TestQuandSupprimerDernierJeton() {