Question: 1. Extend the java Project MergeTwoLists by ensuring the lists being merged are sorted and so is the merged list. 2. Write Two Unit Tests
1. Extend the java Project MergeTwoLists by ensuring the lists being merged are sorted and so is the merged list.
2. Write Two Unit Tests to check the merging of unsorted lists resulting in a merged sorted list.
I First Unit Test having first list having 5 elements in reverse order and second list with a single element larger than all elements in the first list.
II Second Unit Test having first list as [5, -13, 7, 11] and second list as [12, -3, 0]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
