Resolves checkstyle errors for facade factory-kit spatial-partition state step-builder (#1077)
* Reduces checkstyle errors in facade * Reduces checkstyle errors in factory-kit * Reduces checkstyle errors in spatial-partition * Reduces checkstyle errors in state * Reduces checkstyle errors in step-builder
This commit is contained in:
committed by
Ilkka Seppälä
parent
2628cc0dfc
commit
c954a436ad
@ -37,11 +37,11 @@ class BubbleTest {
|
||||
@Test
|
||||
void moveTest() {
|
||||
Bubble b = new Bubble(10,10,1,2);
|
||||
int initialX = b.x;
|
||||
int initialY = b.y;
|
||||
int initialX = b.coordinateX;
|
||||
int initialY = b.coordinateY;
|
||||
b.move();
|
||||
//change in x and y < |2|
|
||||
assertTrue((b.x - initialX < 2 && b.x - initialX > -2) && (b.y - initialY < 2 && b.y - initialY > -2));
|
||||
assertTrue((b.coordinateX - initialX < 2 && b.coordinateX - initialX > -2) && (b.coordinateY - initialY < 2 && b.coordinateY - initialY > -2));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user