|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.Test;
|
|
|
|
public class bubbletest {
|
|
|
|
@Test
|
|
public void test() {
|
|
|
|
int arr[] = {3,2,5};
|
|
int fin[]= {2,3,5};
|
|
|
|
Assert.assertArrayEquals(Bubblesort.bubblesort(arr), fin);
|
|
}
|
|
|
|
}
|