コード例 #1
0
ファイル: Match.cs プロジェクト: Titine/Atelier-Matchs
 public Match(Club Home, Club Away, int HomeGoals, int AwayGoals)
 {
     this.HomeClub = Home;
     this.AwayClub = Away;
     this.HomeScore = HomeGoals;
     this.AwayScore = AwayGoals;
 }
コード例 #2
0
ファイル: ClubTest.cs プロジェクト: Titine/Atelier-Matchs
 public void ToStringTest()
 {
     Club target = new Club("Liverpool");
     Assert.AreEqual("Liverpool", target.ToString());
 }