Isaac Polanco
Isaac Polanco
JCHJava Community | Help. Code. Learn.
Created by Isaac Polanco on 11/2/2024 in #java-help
Selection Sort
Can anyone help me make this test pass?
@Test
public void testMaxPositionMiddle()
{
int[] x = {1, 5, 3, 7, 8, 9};
MySorter s = new MySorter();
assertEquals(1, s.maxPosition(x, 2));
}
@Test
public void testMaxPositionMiddle()
{
int[] x = {1, 5, 3, 7, 8, 9};
MySorter s = new MySorter();
assertEquals(1, s.maxPosition(x, 2));
}
5 replies