public void GetCopyAtNormalTest() { EmployeeContainer ec = new EmployeeContainer("test", "GetCopyAtNormalTestLog"); ParttimeEmployee pe = new ParttimeEmployee( new DateTime(1999, 12, 31), new DateTime(2000, 1, 1), 10, "Testy", "Peoper", new DateTime(1950, 1, 1), "111222333" ); ec.Add(pe); Employee peCopy = ec.GetCopyAt(0); Assert.AreEqual(peCopy.Details(), pe.Details()); }
public void GetCopyAtExceptionTest() { EmployeeContainer ec = new EmployeeContainer("test", "GetCopyAtExceptionTesLog"); ec.GetCopyAt(-1); }