Question: I have this method and I am traying to do some data path testing , J unit test , this is how i was trying

I have this method and I am traying to do some data path testing , J unit test ,
this is how i was trying to do it but it keeps giving me an issue becuase is a void method insted of int
public void test() { int [] arr = {3,5,7,8,2,1}; int size = 6; int [] expected = {1,2,3,5,7,8}; assertArrayEquals(expected, bubbleSortEfficient.bubbleSortEfficientt(arr, size))
}
void bubbleSortEfficient(int A[], int size) int temp; bool exchanged true; for (int i = 0; i = i + 1 ; j-) if (Aljl
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
