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

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

            Console.WriteLine(testCompany.CountryCode);
        }