Esempio n. 1
0
        public void TestGoodCountryCode()
        {
            var testCompany = new Learning.Company("company", 12, "Fr");

            Assert.AreEqual("FR", testCompany.CountryCode);
            Console.WriteLine(testCompany.CountryCode);
        }
Esempio n. 2
0
 public void TestSpaceInCountryCode()
 {
     var testCompany = new Learning.Company("company", 12, "  ");
 }
Esempio n. 3
0
 public void TestSpecialsInCountryCode()
 {
     var testCompany = new Learning.Company("company", 12, "*&");
 }
Esempio n. 4
0
 public void TestNumsInCountryCode()
 {
     var testCompany = new Learning.Company("company", 12, "99");
 }
Esempio n. 5
0
        public void TestWrongCountryCode()
        {
            var testCompany = new Learning.Company("company", 12, "France");

            Console.WriteLine(testCompany.CountryCode);
        }