From fd497fd61c8b25fa5d56058253cf6f8b73e2bf2d Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 13:35:09 +0200 Subject: [PATCH 01/31] ---Correction de la classe Equipe et joueur --- Sources/BowlingLib/Model/Equipe.cs | 49 +++++++++++++++++-- Sources/BowlingLib/Model/Joueur.cs | 5 +- .../Tests/BowlingAppUnitTest/UTestEquipe.cs | 37 ++++++++++++++ 3 files changed, 86 insertions(+), 5 deletions(-) create mode 100644 Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 0ac6688..1d194fd 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -20,8 +20,28 @@ namespace BowlingLib.Model public List Joueurs { - get { return joueurs; } - set { joueurs = value; } + get { return this.joueurs.AsReadOnly().ToList(); } + set { + + foreach (Joueur nouv in value) AjouterJoueur(nouv); + } + } + + + public Equipe(string nom, List joueurs) + { + this.nom = nom; + + if ( joueurs != null && joueurs.Count > 0) + { + if (!this.joueurs.SequenceEqual(joueurs)) this.joueurs = joueurs; // Verification de doublon avant l'ajout des joueurs dans l'équipe + } + else + { + throw new ArgumentException("La liste est null "); + } + + } public Equipe(string nom) @@ -30,9 +50,20 @@ namespace BowlingLib.Model joueurs = new List(); } + + + public void AjouterJoueur(Joueur joueur) { - joueurs.Add(joueur); + if(!isExist(joueur)) + { + joueurs.Add(joueur); + + }else + { + throw new ArgumentException("Le joueur existe déjà dans l'équipe"); + } + } public void SupprimerJoueur(Joueur joueur) @@ -45,5 +76,17 @@ namespace BowlingLib.Model { return joueurs.AsReadOnly().ToList(); } + + + // Fonction permettant de vérifier si un joueur existe déjà dans la liste (l'équipe) + public bool isExist(Joueur nouvJoueur) + { + foreach(Joueur j in Joueurs) + { + if (nouvJoueur.Equals(j) return true; + } + return false; + } + } } diff --git a/Sources/BowlingLib/Model/Joueur.cs b/Sources/BowlingLib/Model/Joueur.cs index cf10721..70f95aa 100644 --- a/Sources/BowlingLib/Model/Joueur.cs +++ b/Sources/BowlingLib/Model/Joueur.cs @@ -11,13 +11,14 @@ namespace BowlingLib.Model private string pseudo; public Joueur(string pseudo) - { - this.pseudo = pseudo; + { if (pseudo == null || pseudo == "" || pseudo.Length < 3) { throw new ArgumentException("Le pseudo ne peut pas être vide"); } + + this.pseudo = pseudo; } public string Pseudo diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs new file mode 100644 index 0000000..f9ec390 --- /dev/null +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using BowlingLib.Model; +using Xunit; + +namespace Test.BowlingAppUnitTest +{ + public class UnitTestEquipe + { + Equipe j = new Equipe("Les rois"); + [Fact] + public void TestConstructeur() + { + + + [Fact] + public void TestInvalidJoueur() + { + + } + + [Theory] + + public void TestContructeur(bool isFormated, bool isValid, string expectedPseudo, String pseudo, bool isEqual) + { + + + } + + //Test équipe avec stub + [Fact] + public void TestEquipeStub() + { + + } + } +} From f9df2c4bd1dee03abb28a220f63508f482b88ede Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 13:39:03 +0200 Subject: [PATCH 02/31] =?UTF-8?q?Correction=20classe=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 1d194fd..84e1185 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -83,7 +83,7 @@ namespace BowlingLib.Model { foreach(Joueur j in Joueurs) { - if (nouvJoueur.Equals(j) return true; + if (nouvJoueur.Equals(j)) return true; } return false; } From f38aab6e29e56255c19097bf5aab94b584d44e99 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 13:40:35 +0200 Subject: [PATCH 03/31] no message --- .../Tests/BowlingAppUnitTest/UTestEquipe.cs | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index f9ec390..6edea59 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -7,31 +7,6 @@ namespace Test.BowlingAppUnitTest { public class UnitTestEquipe { - Equipe j = new Equipe("Les rois"); - [Fact] - public void TestConstructeur() - { - - - [Fact] - public void TestInvalidJoueur() - { - - } - - [Theory] - public void TestContructeur(bool isFormated, bool isValid, string expectedPseudo, String pseudo, bool isEqual) - { - - - } - - //Test équipe avec stub - [Fact] - public void TestEquipeStub() - { - - } } } From 22402eba6adac7edd1dbc7478a8379507e65e739 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:08:01 +0200 Subject: [PATCH 04/31] Test sur Equipe --- Sources/BowlingLib/Model/Equipe.cs | 38 +++++++------ .../Tests/BowlingAppUnitTest/UTestEquipe.cs | 56 ++++++++++++++++++- 2 files changed, 76 insertions(+), 18 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 84e1185..378ebcf 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -11,59 +11,63 @@ namespace BowlingLib.Model { private string nom; private List joueurs; - + public ReadOnlyCollection Joueurs { get; private set; } + private List joueurs = new List(); public string Nom { get { return nom; } set { nom = value; } } - public List Joueurs - { - get { return this.joueurs.AsReadOnly().ToList(); } - set { - - foreach (Joueur nouv in value) AjouterJoueur(nouv); - } - } + - public Equipe(string nom, List joueurs) + public Equipe(string nom, params Joueur[] joueurs) { this.nom = nom; if ( joueurs != null && joueurs.Count > 0) { - if (!this.joueurs.SequenceEqual(joueurs)) this.joueurs = joueurs; // Verification de doublon avant l'ajout des joueurs dans l'équipe + foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); } else { throw new ArgumentException("La liste est null "); } - + + + Joueurs = new ReadOnlyCollection(this.joueurs); + } public Equipe(string nom) { this.nom = nom; - joueurs = new List(); } - + public void AjouterJoueurs(params Joueur[] joueurs) + { + foreach(var j in joueurs) + { + AjouterJoueur(j); + } - public void AjouterJoueur(Joueur joueur) + Joueurs = new ReadOnlyCollection(this.joueurs); + } + + public bool AjouterJoueur(Joueur joueur) { if(!isExist(joueur)) { joueurs.Add(joueur); - + return true; }else { throw new ArgumentException("Le joueur existe déjà dans l'équipe"); } - + return false; } public void SupprimerJoueur(Joueur joueur) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 6edea59..915cd8c 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -7,6 +7,60 @@ namespace Test.BowlingAppUnitTest { public class UnitTestEquipe { - + + public static IEnumerable Data_AddJoueurToEquipe() + { + yield return new object[] + { + true, + new Joueur[] + { + new Joueur("Alys"), + new Joueur("Bénita"), + new Joueur("Regis"), + new Joueur("Mania"), + new Joueur("Cornelle") + }, + new Equipe("ABRMC", + new Joueur("Alys"), + new Joueur("Bénita"), + new Joueur("Regis"), + new Joueur("Mania")), + new Joueur("Cornelle") + }; + + yield return new object[] + { + false, + new Joueur[] + { + new Joueur("Alys"), + new Joueur("Bénita"), + new Joueur("Regis"), + new Joueur("Mania") + }, + new Equipe("ABRMC", + new Joueur("Alys"), + new Joueur("Bénita"), + new Joueur("Regis"), + new Joueur("Mania")), + new Joueur("Mania") + }; + } + + + [Theory] + [MemberData(nameof(Data_AddJoueurToEquipe))] + public void Test_AddJoueurToEquipe(bool expectedResult, + IEnumerable expectedJoueurs, + Equipe equipe, + Joueur joueur) + { + bool result = equipe.AjouterJoueur(joueur); + Assert.Equal(expectedResult, result); + Assert.Equal(expectedJoueurs.Count(), equipe.Joueurs.Count()); + Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); + } + } } From 6bd2c7ecfb12bfbde9a77aa8932f026036cf3799 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:11:32 +0200 Subject: [PATCH 05/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 378ebcf..5ed7453 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -4,6 +4,8 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.Collections.Generic; +using System.Collections.ObjectModel; namespace BowlingLib.Model { From c4cc18b65c1bad1963b1a8b0d4e242af7cb91d9c Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:12:11 +0200 Subject: [PATCH 06/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 5ed7453..6c3c0a7 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -3,8 +3,7 @@ using System; using System.Collections.Generic; using System.Linq; using System.Text; -using System.Threading.Tasks; -using System.Collections.Generic; +using System.Threading.Tasks; using System.Collections.ObjectModel; namespace BowlingLib.Model From 80b6f69ef5cf2dca91b1e652491120b75515af9c Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:15:25 +0200 Subject: [PATCH 07/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 6c3c0a7..589d70b 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -12,8 +12,7 @@ namespace BowlingLib.Model { private string nom; private List joueurs; - public ReadOnlyCollection Joueurs { get; private set; } - private List joueurs = new List(); + private List Joueurs { get; private set; } public string Nom { get { return nom; } From 449e3deef56a9f8e2d0370a42be25a10bfd5126c Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:16:48 +0200 Subject: [PATCH 08/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 589d70b..1ad3786 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -11,8 +11,7 @@ namespace BowlingLib.Model public class Equipe { private string nom; - private List joueurs; - private List Joueurs { get; private set; } + public List Joueurs { get; private set; } public string Nom { get { return nom; } From 3be9927135aa46ac131ffbce7d71d1b68a17250c Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:18:03 +0200 Subject: [PATCH 09/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 1ad3786..fb86f81 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -25,7 +25,7 @@ namespace BowlingLib.Model { this.nom = nom; - if ( joueurs != null && joueurs.Count > 0) + if ( joueurs != null && Joueurs.Count > 0) { foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); } From e4c74fecfe785e5d51fd8eedb476a32b21beace8 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:20:03 +0200 Subject: [PATCH 10/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index fb86f81..c874b44 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -33,11 +33,7 @@ namespace BowlingLib.Model { throw new ArgumentException("La liste est null "); } - - - Joueurs = new ReadOnlyCollection(this.joueurs); - - + } public Equipe(string nom) @@ -52,8 +48,6 @@ namespace BowlingLib.Model { AjouterJoueur(j); } - - Joueurs = new ReadOnlyCollection(this.joueurs); } public bool AjouterJoueur(Joueur joueur) @@ -77,7 +71,7 @@ namespace BowlingLib.Model //retourner la liste non modifiable des joueurs de l'équipe public List GetJoueurs() { - return joueurs.AsReadOnly().ToList(); + return Joueurs.AsReadOnly().ToList(); } From 19c1ed68d69e3db10fce9f473a3f8909b85a8e15 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:21:00 +0200 Subject: [PATCH 11/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index c874b44..045c9dc 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -54,7 +54,7 @@ namespace BowlingLib.Model { if(!isExist(joueur)) { - joueurs.Add(joueur); + Joueurs.Add(joueur); return true; }else { From 4c37439af8443772c068eaf26a8c6ac3654f39de Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:22:02 +0200 Subject: [PATCH 12/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 045c9dc..2355fea 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -65,7 +65,7 @@ namespace BowlingLib.Model public void SupprimerJoueur(Joueur joueur) { - joueurs.Remove(joueur); + Joueurs.Remove(joueur); } //retourner la liste non modifiable des joueurs de l'équipe From b4b4352328dd4c01493d09348f7f97300fb25a16 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:23:13 +0200 Subject: [PATCH 13/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 915cd8c..313d14e 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -52,7 +52,7 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - IEnumerable expectedJoueurs, + IEnumerable expectedJoueurs, Equipe equipe, Joueur joueur) { From ac24f81e5dca3f8bc3bc5fb5de2cc2b3a930d00a Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:24:36 +0200 Subject: [PATCH 14/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 313d14e..db665db 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -8,7 +8,7 @@ namespace Test.BowlingAppUnitTest public class UnitTestEquipe { - public static IEnumerable Data_AddJoueurToEquipe() + public static List Data_AddJoueurToEquipe() { yield return new object[] { @@ -52,7 +52,7 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - IEnumerable expectedJoueurs, + List expectedJoueurs, Equipe equipe, Joueur joueur) { From 3b1bc1e7fcc6e8254bbc267899808ff8e73dbac0 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:25:42 +0200 Subject: [PATCH 15/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index db665db..21bf93e 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -8,7 +8,7 @@ namespace Test.BowlingAppUnitTest public class UnitTestEquipe { - public static List Data_AddJoueurToEquipe() + public static IEnumerable Data_AddJoueurToEquipe() { yield return new object[] { From d15fbc67554846967ddb6b6101a2dac52e5f5ec2 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:31:17 +0200 Subject: [PATCH 16/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 21bf93e..ed4a3eb 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -58,7 +58,7 @@ namespace Test.BowlingAppUnitTest { bool result = equipe.AjouterJoueur(joueur); Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs.Count(), equipe.Joueurs.Count()); + Assert.Equal(expectedJoueurs.Count(), equipe.Joueurs.Count); Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); } From 257c8e2e996d0e7f230d4bcb13f7edaec75e3a18 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:33:00 +0200 Subject: [PATCH 17/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index ed4a3eb..7f543fa 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -58,7 +58,7 @@ namespace Test.BowlingAppUnitTest { bool result = equipe.AjouterJoueur(joueur); Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs.Count(), equipe.Joueurs.Count); + Assert.Equal(expectedJoueurs.Count(), equipe.GetJoueurs().Count()); Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); } From 65b7e8fa83b9c492fb315d07ab51adfb6c4cbdc1 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:36:46 +0200 Subject: [PATCH 18/31] UTest sur equipe --- Sources/BowlingLib/Model/Equipe.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 2355fea..b734e68 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -69,9 +69,9 @@ namespace BowlingLib.Model } //retourner la liste non modifiable des joueurs de l'équipe - public List GetJoueurs() + public ReadOnlyCollection GetJoueurs() { - return Joueurs.AsReadOnly().ToList(); + return new ReadOnlyCollection(this.Joueurs); } From 263bfd23c543f70147072660ac7939c271f5b53f Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:38:03 +0200 Subject: [PATCH 19/31] =?UTF-8?q?UTest=20=20sur=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index b734e68..7a1b5b2 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -69,9 +69,9 @@ namespace BowlingLib.Model } //retourner la liste non modifiable des joueurs de l'équipe - public ReadOnlyCollection GetJoueurs() + public ReadOnlyCollection GetJoueurs() { - return new ReadOnlyCollection(this.Joueurs); + return new ReadOnlyCollection(this.Joueurs); } From 6c419d238a848a9d81f40cc67f00ac8ed5aa5736 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:41:54 +0200 Subject: [PATCH 20/31] =?UTF-8?q?Utest=20sur=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 4 ++-- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 7a1b5b2..b07bb6b 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -69,9 +69,9 @@ namespace BowlingLib.Model } //retourner la liste non modifiable des joueurs de l'équipe - public ReadOnlyCollection GetJoueurs() + public long GetJoueurs() { - return new ReadOnlyCollection(this.Joueurs); + return Joueurs.Count; } diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 7f543fa..ab9fd0e 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -58,7 +58,7 @@ namespace Test.BowlingAppUnitTest { bool result = equipe.AjouterJoueur(joueur); Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs.Count(), equipe.GetJoueurs().Count()); + Assert.Equal(expectedJoueurs.Count(), equipe.GetJoueurs()); Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); } From 8c7e8c9e44ea2d0628dd6b1b4911dd2509cd5445 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:43:49 +0200 Subject: [PATCH 21/31] =?UTF-8?q?UTest=20=20sur=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index ab9fd0e..e384ff6 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -52,7 +52,7 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - List expectedJoueurs, + IEnumerable expectedJoueurs, Equipe equipe, Joueur joueur) { From 39561d021bf8fe61c1d804851a8d6d37da7eb852 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:44:52 +0200 Subject: [PATCH 22/31] =?UTF-8?q?Test=20Unitaire=20=C3=A9quipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index e384ff6..23d59b3 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -52,13 +52,13 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - IEnumerable expectedJoueurs, + List expectedJoueurs, Equipe equipe, Joueur joueur) { bool result = equipe.AjouterJoueur(joueur); Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs.Count(), equipe.GetJoueurs()); + Assert.Equal(expectedJoueurs.Count, equipe.GetJoueurs()); Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); } From 23ca4585dfb145a249a19ea0e5e50a347d44d4b0 Mon Sep 17 00:00:00 2001 From: AUGUSTIN_100 Date: Sun, 2 Oct 2022 23:47:55 +0200 Subject: [PATCH 23/31] =?UTF-8?q?Correction=20sur=20la=20classe=20=C3=A9qu?= =?UTF-8?q?ipe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index b07bb6b..75d0ded 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -24,15 +24,8 @@ namespace BowlingLib.Model public Equipe(string nom, params Joueur[] joueurs) { this.nom = nom; - - if ( joueurs != null && Joueurs.Count > 0) - { - foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); - } - else - { - throw new ArgumentException("La liste est null "); - } + + foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); } From 68efd663b7c9c1b7adbaf0433256f6ad287375d5 Mon Sep 17 00:00:00 2001 From: Augustin AFFOGNON Date: Thu, 6 Oct 2022 08:36:05 +0000 Subject: [PATCH 24/31] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/Bowl?= =?UTF-8?q?ingLib/Model/Equipe.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Equipe.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 75d0ded..613bf6f 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -71,10 +71,13 @@ namespace BowlingLib.Model // Fonction permettant de vérifier si un joueur existe déjà dans la liste (l'équipe) public bool isExist(Joueur nouvJoueur) { - foreach(Joueur j in Joueurs) + if(Joueurs.Count > 0 ){ + foreach(Joueur j in Joueurs) { if (nouvJoueur.Equals(j)) return true; } + } + return false; } From 6639a32b1343bcb1aa48af4f89a465ddbbd98ee0 Mon Sep 17 00:00:00 2001 From: Augustin AFFOGNON Date: Thu, 6 Oct 2022 08:38:22 +0000 Subject: [PATCH 25/31] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/Test?= =?UTF-8?q?s/BowlingAppUnitTest/UTestEquipe.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 23d59b3..85dc627 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -52,7 +52,7 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - List expectedJoueurs, + IEnumerable expectedJoueurs, Equipe equipe, Joueur joueur) { From 1bf2a5ab7fc899115b522023541110ea1f88a64b Mon Sep 17 00:00:00 2001 From: Augustin AFFOGNON Date: Thu, 6 Oct 2022 10:54:49 +0200 Subject: [PATCH 26/31] correction --- Sources/BowlingLib/Model/Equipe.cs | 172 +++++++++++++++-------------- 1 file changed, 87 insertions(+), 85 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 613bf6f..c9475d1 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -1,85 +1,87 @@ - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Collections.ObjectModel; - -namespace BowlingLib.Model -{ - public class Equipe - { - private string nom; - public List Joueurs { get; private set; } - public string Nom - { - get { return nom; } - set { nom = value; } - } - - - - - public Equipe(string nom, params Joueur[] joueurs) - { - this.nom = nom; - - foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); - - } - - public Equipe(string nom) - { - this.nom = nom; - } - - - public void AjouterJoueurs(params Joueur[] joueurs) - { - foreach(var j in joueurs) - { - AjouterJoueur(j); - } - } - - public bool AjouterJoueur(Joueur joueur) - { - if(!isExist(joueur)) - { - Joueurs.Add(joueur); - return true; - }else - { - throw new ArgumentException("Le joueur existe déjà dans l'équipe"); - } - return false; - } - - public void SupprimerJoueur(Joueur joueur) - { - Joueurs.Remove(joueur); - } - - //retourner la liste non modifiable des joueurs de l'équipe - public long GetJoueurs() - { - return Joueurs.Count; - } - - - // Fonction permettant de vérifier si un joueur existe déjà dans la liste (l'équipe) - public bool isExist(Joueur nouvJoueur) - { - if(Joueurs.Count > 0 ){ - foreach(Joueur j in Joueurs) - { - if (nouvJoueur.Equals(j)) return true; - } - } - - return false; - } - - } -} + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Collections.ObjectModel; + +namespace BowlingLib.Model +{ + public class Equipe + { + private string nom; + + public List Joueurs { get; private set; } + public string Nom + { + get { return nom; } + set { nom = value; } + } + + + + + public Equipe(string nom, params Joueur[] joueurs) + { + this.nom = nom; + + foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); + + } + + public Equipe(string nom) + { + this.nom = nom; + } + + + public void AjouterJoueurs(params Joueur[] joueurs) + { + foreach(var j in joueurs) + { + AjouterJoueur(j); + } + } + + public bool AjouterJoueur(Joueur joueur) + { + if(!isExist(joueur)) + { + Joueurs.Add(joueur); + return true; + }else + { + throw new ArgumentException("Le joueur existe déjà dans l'équipe"); + } + return false; + } + + public void SupprimerJoueur(Joueur joueur) + { + Joueurs.Remove(joueur); + } + + //retourner la liste non modifiable des joueurs de l'équipe + public long GetJoueurs() + { + return Joueurs.Count; + } + + + // Fonction permettant de vérifier si un joueur existe déjà dans la liste (l'équipe) + public bool isExist(Joueur nouvJoueur) + { + if (Joueurs.Count > 0) { + + { + if (Joueurs.Contains(nouvJoueur)) return true; + } + } + + + return false; + } + + } +} From d582a5be28207274d03a06c7acd5545545752e76 Mon Sep 17 00:00:00 2001 From: "augustin.affognon" Date: Thu, 6 Oct 2022 10:59:29 +0200 Subject: [PATCH 27/31] correction --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 85dc627..23d59b3 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -52,7 +52,7 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - IEnumerable expectedJoueurs, + List expectedJoueurs, Equipe equipe, Joueur joueur) { From 972715fa9eb56a1b1c0e5a81d2f76dd9c0116d96 Mon Sep 17 00:00:00 2001 From: "augustin.affognon" Date: Thu, 6 Oct 2022 11:14:03 +0200 Subject: [PATCH 28/31] correction --- Sources/BowlingLib/Model/Equipe.cs | 10 ++++++---- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 14 +------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index c9475d1..402c045 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -12,7 +12,9 @@ namespace BowlingLib.Model { private string nom; - public List Joueurs { get; private set; } + public List Joueurs = new List(); + + public string Nom { get { return nom; } @@ -25,9 +27,9 @@ namespace BowlingLib.Model public Equipe(string nom, params Joueur[] joueurs) { this.nom = nom; - - foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); - + AjouterJoueurs(joueurs); + // foreach (Joueur nouv in joueurs) AjouterJoueur(nouv); + } public Equipe(string nom) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 23d59b3..b5c99d0 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -48,19 +48,7 @@ namespace Test.BowlingAppUnitTest }; } - - [Theory] - [MemberData(nameof(Data_AddJoueurToEquipe))] - public void Test_AddJoueurToEquipe(bool expectedResult, - List expectedJoueurs, - Equipe equipe, - Joueur joueur) - { - bool result = equipe.AjouterJoueur(joueur); - Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs.Count, equipe.GetJoueurs()); - Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); - } + } } From 6bc75233cfd8d495fed31f852df513fefe93bac8 Mon Sep 17 00:00:00 2001 From: "augustin.affognon" Date: Thu, 6 Oct 2022 11:43:15 +0200 Subject: [PATCH 29/31] correction --- Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index b5c99d0..0ca632e 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -44,11 +44,25 @@ namespace Test.BowlingAppUnitTest new Joueur("Bénita"), new Joueur("Regis"), new Joueur("Mania")), + new Joueur("Mania") }; } - + + [Theory] + [MemberData(nameof(Data_AddJoueurToEquipe))] + public void Test_AddJoueurToEquipe(bool expectedResult, + IEnumerable expectedJoueurs, + Equipe equipe, + Joueur joueur) + { + + bool result = equipe.AjouterJoueur(joueur); + Assert.Equal(expectedResult, result); + Assert.Equal(expectedJoueurs., equipe.GetJoueurs()); + Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); + } } } From 19a14355e42d69f2f4daa27dbf2e32e896ae54cf Mon Sep 17 00:00:00 2001 From: Victor Perez NGOUNOU Date: Thu, 6 Oct 2022 12:12:46 +0200 Subject: [PATCH 30/31] GO [#6] --- Sources/BowlingLib/Model/Equipe.cs | 3 +-- Sources/BowlingLib/Model/Joueur.cs | 6 ++++++ Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs | 5 ++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Sources/BowlingLib/Model/Equipe.cs b/Sources/BowlingLib/Model/Equipe.cs index 402c045..f2fb05d 100644 --- a/Sources/BowlingLib/Model/Equipe.cs +++ b/Sources/BowlingLib/Model/Equipe.cs @@ -54,9 +54,8 @@ namespace BowlingLib.Model return true; }else { - throw new ArgumentException("Le joueur existe déjà dans l'équipe"); - } return false; + } } public void SupprimerJoueur(Joueur joueur) diff --git a/Sources/BowlingLib/Model/Joueur.cs b/Sources/BowlingLib/Model/Joueur.cs index 70f95aa..660acd0 100644 --- a/Sources/BowlingLib/Model/Joueur.cs +++ b/Sources/BowlingLib/Model/Joueur.cs @@ -27,5 +27,11 @@ namespace BowlingLib.Model private set { pseudo = value; } } + public override bool Equals(object obj) + { + return obj is Joueur joueur && + pseudo == joueur.pseudo && + Pseudo == joueur.Pseudo; + } } } diff --git a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs index 0ca632e..e0287bc 100644 --- a/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs +++ b/Sources/Tests/BowlingAppUnitTest/UTestEquipe.cs @@ -44,7 +44,6 @@ namespace Test.BowlingAppUnitTest new Joueur("Bénita"), new Joueur("Regis"), new Joueur("Mania")), - new Joueur("Mania") }; } @@ -53,14 +52,14 @@ namespace Test.BowlingAppUnitTest [Theory] [MemberData(nameof(Data_AddJoueurToEquipe))] public void Test_AddJoueurToEquipe(bool expectedResult, - IEnumerable expectedJoueurs, + Joueur[] expectedJoueurs, Equipe equipe, Joueur joueur) { bool result = equipe.AjouterJoueur(joueur); Assert.Equal(expectedResult, result); - Assert.Equal(expectedJoueurs., equipe.GetJoueurs()); + Assert.Equal(expectedJoueurs.Length, equipe.GetJoueurs()); Assert.All(expectedJoueurs, j => equipe.Joueurs.Contains(j)); } From b117db93c1a865586c619261348d08d5a7a37564 Mon Sep 17 00:00:00 2001 From: Victor Perez NGOUNOU Date: Thu, 6 Oct 2022 12:14:44 +0200 Subject: [PATCH 31/31] GO [#6] --- Sources/BowlingLib/Model/Iloader.cs | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 Sources/BowlingLib/Model/Iloader.cs diff --git a/Sources/BowlingLib/Model/Iloader.cs b/Sources/BowlingLib/Model/Iloader.cs deleted file mode 100644 index 93593be..0000000 --- a/Sources/BowlingLib/Model/Iloader.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System; - -public interface Iloader -{ - -}