Пример #1
0
        public void TeamNameTryParseCanOutNullValue()
        {
            TeamName result;

            TeamName.TryParse("Ifk Götebor/", out result);
            Assert.IsNull(result);
        }
Пример #2
0
        public void TeamNameTryParseCanOutValidResult()
        {
            TeamName result;

            TeamName.TryParse("Ifk Göteborg", out result);
            Assert.IsTrue(result.Value == "Ifk Göteborg");
        }
Пример #3
0
        public void TeamNameTryParseCanReturnFalse()
        {
            TeamName result;

            Assert.IsFalse(TeamName.TryParse("Ifk G?teborg", out result));
        }
Пример #4
0
        public void TeamNameTryParseCanReturnTrue()
        {
            TeamName result;

            Assert.IsTrue(TeamName.TryParse("Ifk Göteborg", out result));
        }