/// <summary>
 /// ctr test
 /// </summary>
 /// <param name="traniee_id"></param>
 /// <param name="test_time"></param>
 /// <param name="address"></param>
 public Test(string traniee_id, DateTime test_time, Address address, Car_type car_type)
 {
     Traniee_id       = traniee_id;
     Test_time        = test_time;
     Address          = address;
     Student_car_Type = car_type;
 }
 /// <summary>
 /// Copy constructor
 /// </summary>
 public Test(Test other)
 {
     Test_number      = other.Test_number;
     Tester_id        = other.Tester_id;
     Traniee_id       = other.Traniee_id;
     Test_time        = other.Test_time;
     Address          = other.Address;
     Criteria_list    = other.Criteria_list;
     Grade            = other.Grade;
     Tester_comment   = other.Tester_comment;
     Student_car_Type = other.Student_car_Type;
 }
        //------------------------------------------------------------------------------------------------------------------------

        // Function

        /// <summary>
        /// Simple constractor
        /// </summary>
        /// <param name="id">String that indicate the tester's identity number</param>
        /// <param name="last_name">String that indicates the surname of the examiner</param>
        /// <param name="first_name">String that indicates the test's first name</param>
        /// <param name="birth_date">DateTime that indicates the tester's date of birth</param>
        /// <param name="gender">Gender (enum) that indicates the sex of the tester</param>
        /// <param name="phone">String that indicates the tester's phone</param>
        /// <param name="address">Address that indicates the tester's address</param>
        /// <param name="years_of_experience">Int that indicates the number of years of experience of the tester</param>
        /// <param name="maximum_tests">Int  that indicates the maximum possible number of tests per week</param>
        /// <param name="specialization">Car_type (enum) that indicates the type of vehicle in which the tester specializes</param>
        /// <param name="schedule">Bool[,]  that includes the schedule of the tester (only round hours, between Sunday to Thursday, 9:00-15:00)</param>
        /// <param name="maximum_distance">Double of maximum distance from its address, which a tester can examine</param>
        /// <param name="password"></param>
        public Tester(string id, string last_name, string first_name, DateTime birth_date, Gender gender, string phone, Address address,
                      int years_of_experience, int maximum_tests, Car_type specialization, bool[,] schedule, double maximum_distance, string password)
        {
            ID                  = id;
            Last_name           = last_name;
            First_name          = first_name;
            Birth_date          = birth_date;
            Gender              = gender;
            Phone               = phone;
            Address             = address;
            Years_of_experience = years_of_experience;
            Maximum_tests       = maximum_tests;
            Specialization      = specialization;
            Schedule            = schedule;
            Maximum_distance    = maximum_distance;
            Password            = password;
        }
        //------------------------------------------------------------------------------------------------------------------------

        // Function
        ///<summary>
        /// Simple constractor
        /// </summary>

        public Trainee(string id, string last_name, string first_name, DateTime birth_date, Gender gender, string phone, Address address, bool pass_theory,
                       Car_type learned, Gearbox_type gear_used, string school_name, string teachers_name, int num_of_classes, string password, string email)
        {
            ID             = id;
            Last_name      = last_name;
            First_name     = first_name;
            Birth_date     = birth_date;
            Gender         = gender;
            Phone          = phone;
            Address        = address;
            Pass_theory    = pass_theory;
            Last_theory    = birth_date; // give him a starting value
            Learned        = learned;
            Gear_used      = gear_used;
            Driving_school = school_name;
            Teachers_name  = teachers_name;
            Num_of_classes = num_of_classes;
            Password       = password;
            Email          = email;
        }
        //---------------------------------------------------------------------------------
        /// <summary>
        /// ctr Test
        /// </summary>
        /// <param name="tester_id"></param>
        /// <param name="traniee_id"></param>
        /// <param name="test_time"></param>
        /// <param name="address"></param>
        /// <param name="criteria_list"></param>
        /// <param name="teachers_comment"></param>
        /// <param name="grade"></param>
        public Test(string num, string tester_id, string traniee_id, DateTime test_time, Address address,
                    string tester_comment, bool grade, Car_type car_type)
        {
            Test_number = num;
            Tester_id   = tester_id;
            Traniee_id  = traniee_id;
            Test_time   = test_time;
            Address     = address;
            List <BE.Criterion> criteria = new List <BE.Criterion>()
            {
                new BE.Criterion(BE.Score.Bad, "כניסה חזיתית ברכב לפניך"),
                new BE.Criterion(BE.Score.OK, "היצמדות לימין"),
                new BE.Criterion(BE.Score.Good, "איתות"),
            };

            Criteria_list    = criteria;
            Grade            = grade;
            Tester_comment   = tester_comment;
            Student_car_Type = car_type;
        }