From bb311054b2d1c259a81b37d9063acf7ded66dfd0 Mon Sep 17 00:00:00 2001 From: Najlae Lambaraa Date: Thu, 29 Sep 2022 00:13:31 +0200 Subject: [PATCH] :arrow_up: --- Sources/MaSoluction/Model/Game.cs | 2 +- Sources/MaSoluction/Tests/TestNumberDie.cs | 6 +++++- Sources/MaSoluction/Tests/Tests.csproj | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Sources/MaSoluction/Model/Game.cs b/Sources/MaSoluction/Model/Game.cs index 5cf53d9..a81997e 100644 --- a/Sources/MaSoluction/Model/Game.cs +++ b/Sources/MaSoluction/Model/Game.cs @@ -14,7 +14,7 @@ namespace Model { this.name = name; } - + public readonly Collection ListDice { get; set; } private List listDice = new List(); //encapsulation des collections voir les videos partie 2 public string Name { diff --git a/Sources/MaSoluction/Tests/TestNumberDie.cs b/Sources/MaSoluction/Tests/TestNumberDie.cs index 629d949..3f10408 100644 --- a/Sources/MaSoluction/Tests/TestNumberDie.cs +++ b/Sources/MaSoluction/Tests/TestNumberDie.cs @@ -2,6 +2,10 @@ { public class TestNumberDie { - + + public void testConstructor() + { + + } } } \ No newline at end of file diff --git a/Sources/MaSoluction/Tests/Tests.csproj b/Sources/MaSoluction/Tests/Tests.csproj index bafd05b..37a9d29 100644 --- a/Sources/MaSoluction/Tests/Tests.csproj +++ b/Sources/MaSoluction/Tests/Tests.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -6,4 +6,8 @@ enable + + + +