Example #1
0
 public override string ToString()
 {
     return(string.Format("http://www.tennisbetting365.com/api/getprediction/{0}/{1}/{2}/{3}/vs/{4}/{5}",
                          TournamentName.ToHyphenated(), MatchDate.Year.ToString().ToHyphenated(),
                          PlayerAFirstName.ToHyphenated(), PlayerASurname.ToHyphenated(),
                          PlayerBFirstName.ToHyphenated(), PlayerBSurname.ToHyphenated()));
 }
Example #2
0
        public void 大会名が50文字以下の場合正しく取得()
        {
            var act = new TournamentName("ジュニアカップNo.0000000000000000000000000000000000000001");

            Assert.Equal("ジュニアカップNo.0000000000000000000000000000000000000001", act.Value);
        }