public void AddEmployeeTest() { Company c = new Company(); Employee e = new Employee("John", "Doe"); c.AddEmployee(e); Assert.IsTrue(c.GetNumberOfEmployees() == 1); }
public void GetEmployeePositionTest() { const string POSITION = "Supervisor"; Company c = new Company(); Employee e = new Employee("John", "Doe"); e.Position = POSITION; c.AddEmployee(e); Assert.AreEqual(POSITION, c.GetEmployeePosition(e)); }
public void CompanyConstructorTest() { Company c = new Company(); Assert.IsNotNull(c); }