EECS1022-Winter 2024-Lab05
Due Date: Sunday, March 10, 2024, before 11:59 PM.
Lab Restrictions:
• Any use of Java library classes or methods (e.g., ArrayList, System.arraycopy) is
forbidden. That is, there must not be any import statement at the beginning of this
class. Violating this requirement will result in a 70% penalty on your marks.
• For the JUnit test cases, the class JunitTest_RideRequestTest.java given to you
? Do not modify the test methods given to you.
? You are allowed to add new test cases by creating new test methods.
• For each method which you are required to implement, derived from the JUnit test
methods:
? No System.out.println statements should appear in it.
? No Scanner operations (e.g., input.nextInt()) should appear in it.
Instead, declare the method's input parameters as indicated by the JUnit tests.
• Hint: You may use Java.util.Arrays class, class
Character or Class String.