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

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

            Console.WriteLine(testCompany.CountryCode);
        }