mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Fixed failing ColorsTest
#story[923]
This commit is contained in:
@@ -8,14 +8,11 @@ import seng302.models.Colors;
|
||||
import static org.junit.Assert.assertArrayEquals;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* Created by ryan_ on 16/03/2017.
|
||||
*/
|
||||
public class ColorsTest {
|
||||
|
||||
@Test
|
||||
public void testNextColor() {
|
||||
Color expectedColors[] = {Color.RED, Color.ORANGE, Color.YELLOW, Color.GREEN, Color.BLUE, Color.PURPLE};
|
||||
Color expectedColors[] = {Color.RED, Color.PERU, Color.SEAGREEN, Color.GREEN, Color.BLUE, Color.PURPLE};
|
||||
for (int i = 0; i<6; i++)
|
||||
{
|
||||
Assert.assertEquals(expectedColors[i], Colors.getColor());
|
||||
|
||||
Reference in New Issue
Block a user