public void Generate_ID_Is_Not_Null()
        {
            int GeneratedID = IDHelper.GenerateID();

            Assert.IsNotNull(GeneratedID);
        }
Exemplo n.º 2
0
 public static void GenerateEmployees(List <Employee> EmployeeList)
 {
     EmployeeList.Add(new Employee("John Doe", 918237423, "Filler addr1", "Doctor", IDHelper.GenerateID(), "9:00 - 13:00"));
     EmployeeList.Add(new Employee("Mary Sue", 918233223, "Filler addr2", "Doctor", IDHelper.GenerateID(), "10:00 - 12:00"));
     EmployeeList.Add(new Employee("Mike Law", 728783212, "Filler addr3", "Groomer", IDHelper.GenerateID(), "16:00 - 18:00"));
     EmployeeList.Add(new Employee("Larry John", 289374621, "Filler addr4", "Nurse", IDHelper.GenerateID(), "8:00 - 12:00"));
 }
        public void Generates_ID_Generates_Number()
        {
            int GeneratedID = IDHelper.GenerateID();

            Assert.IsInstanceOfType(GeneratedID, typeof(int));
        }