package jalview.util;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertTrue;
import java.util.Arrays;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
public class QuickSortTest
{
private final Object[] sortedThings = new Object[]
{ c4, c2, c1, c3 };
- @Before
+ @BeforeMethod
public void setUp()
{
things = new Object[]
/**
* Test whether sort is stable i.e. equal values retain their mutual ordering.
*/
- @Test
- @Ignore
+ @Test(enabled = false)
public void testSort_withDuplicates()
{
int[] values = new int[]