Write a class that is named with your full name in camel case containing the following methods:
1.) String getFullName( ) - This method returns your full name, with spacing, as a string.
2.) String getFirstName( ) - This method returns your first name as a string.
3.) String getLastName( ) - This method returns your last name as a string.
4.) String getIDnumber( ) - This method returns your ID number as a string
5.) int getStudentNumber( ) - This method returns your ID number.
6.) String getRotatedFullName(int shift) - This method returns your name, rotated (with wrap-around), by "shift" characters. Positive numbers rotate to the left, and negative numbers rotate to the right. All valid integers should be accepted.
Then create a JUnit test class containing the methods to test each of the above methods. For each of the above methods 1-5, write one test-case method that contains one execution of the test method and checks its expected value. For method 6, provide two test case methods: one with a positive shift and one with negative shift.
Finally, create a parametrized JUnit test that tests method 6 for all integers from -10 to 10, inclusive
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I have written JUnit tests before and I can do it for this project. I am focused mostly on doing computer science work here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I start. Thanks.
$30 USD en 1 día
4,9 (416 comentarios)
6,8
6,8
4 freelancers están ofertando un promedio de $30 USD por este trabajo