{"id":19693056,"url":"https://github.com/christs8920/unit-testing","last_synced_at":"2025-02-27T09:58:04.052Z","repository":{"id":251482105,"uuid":"813039818","full_name":"ChrisTs8920/Unit-Testing","owner":"ChrisTs8920","description":"A simple Unit Testing project made with C#.","archived":false,"fork":false,"pushed_at":"2024-08-03T10:10:51.000Z","size":4415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T09:11:51.029Z","etag":null,"topics":["csharp","unit-testing","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisTs8920.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-10T11:36:43.000Z","updated_at":"2024-10-02T10:23:37.000Z","dependencies_parsed_at":"2024-08-03T11:27:48.103Z","dependency_job_id":"6ce0ace5-5bb5-4a6a-8bb4-b899906f674c","html_url":"https://github.com/ChrisTs8920/Unit-Testing","commit_stats":null,"previous_names":["christs8920/unit-testing_csharp","christs8920/unit-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FUnit-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FUnit-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FUnit-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FUnit-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisTs8920","download_url":"https://codeload.github.com/ChrisTs8920/Unit-Testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241001945,"owners_count":19892083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","unit-testing","visual-studio"],"created_at":"2024-11-11T19:15:35.721Z","updated_at":"2025-02-27T09:58:04.026Z","avatar_url":"https://github.com/ChrisTs8920.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unit Testing with C\\#\n\n## Description\n\nThis simple project simulates an Information System of an HR department of a company.\n\nIt consists of two parts:\n\n- **HRLib:** The library intended for testing, contains 6 methods - functions.\n- **Unittests:** The project that tests the methods of HRLib.\n\n\u003e*This project was made during my software quality class.*\n\n## A more in depth look at HRLib\n\nConsists of the following methods and functions:\n\n- **bool ValidName(string name):** Accepts an employee name. Returns true if the parameter is a valid name, else returns false.\n- **bool ValidPassword(string password):** Accepts a password. Returns true if password is valid, else returns false.\n- **EncryptPassword(string Password, ref string ΕncryptedPW):** Accepts a password, encrypts it and saves the encrypted password to the second parameter. The encryption is based on Caesar's Cypher (shift = 5).\n- **CheckPhone(string Phone, ref int TypePhone, ref string InfoPhone):** Accepts a number and checks if it's a valid phone number. Save the results to the ref parameters.\n- **InfoEmployee(Employee EmplX, ref int Age, ref int YearsOfExperience):** Accepts data of an employee, and saves his age and years of experience in the ref parameters.\n- **int LiveInAthens(Employee[] Empls):** Returns a sum of employees that live in Athens. This function calls 'CheckPhone()'.\n\nA password is valid when it:\n\n**a.** Has at least 12 characters\\\n**b.** Has a mix of uppercase and lowercase, numbers and symbols. (at least 1 character for each)\\\n**c.** Has only latin characters\\\n**d.** Starts with an uppercase character and ends with a number\n\n## Technologies used\n\n- Visual Studio 2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrists8920%2Funit-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrists8920%2Funit-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrists8920%2Funit-testing/lists"}