示例#1
0
        public void EmployeeITEnum_Creation_FieldProperlyField()
        {
            var employee7 = new ITEmployee("Marta", 888, Location.Szczecin, "Python");

            Assert.That(employee7.Name, Is.EqualTo("Marta"));
            Assert.That(employee7.NumberID, Is.EqualTo(888));
            Assert.That(employee7.location, Is.EqualTo(Location.Szczecin));
            Assert.That(employee7.ProgramingLanguage, Is.EqualTo("Python"));
        }
示例#2
0
        public void EmployeeIT_Creation_FieldProperlyField()
        {
            var employee5 = new ITEmployee("Emka", 556, "Koszalin", "C#");

            Assert.That(employee5.Name, Is.EqualTo("Emka"));
            Assert.That(employee5.NumberID, Is.EqualTo(556));
            Assert.That(employee5.LocationString, Is.EqualTo("Koszalin"));
            Assert.That(employee5.ProgramingLanguage, Is.EqualTo("C#"));
        }