Skip to content

Commit

Permalink
test: disable long executing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Flashky committed Dec 19, 2024
1 parent 9062cc8 commit a7735a5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public int solveB() {
}
} while (count != robots.size()) ;

paint();
// Uncomment for seeing the tree:
//paint();

return seconds;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,8 @@ private void addRow(String input, int row) {

public long solveB() {
int movementIndex = 0;
Array2DUtil.paint(map);
while(movementIndex < movements.length) {
System.out.print("Move: "+ String.valueOf(movements[movementIndex]));
move(movements[movementIndex]);
Array2DUtil.paint(map);
movementIndex++;
}

Expand Down
2 changes: 2 additions & 0 deletions src/test/java/com/adventofcode/flashk/day14/Day14Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.List;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;
import org.junit.jupiter.api.Order;
Expand Down Expand Up @@ -65,6 +66,7 @@ void part1InputTest() {
@Tag(TestTag.PART_2)
@Tag(TestTag.INPUT)
@DisplayName(TestDisplayName.PART_2_INPUT)
@Disabled
void part2InputTest() {

// Read input file
Expand Down
1 change: 1 addition & 0 deletions src/test/java/com/adventofcode/flashk/day17/Day17Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public void testSolvePart1Input() {
@Tag(TestTag.PART_2)
@Tag(TestTag.SAMPLE)
@DisplayName(TestDisplayName.PART_2_SAMPLE)
@Disabled
public void testSolvePart2Sample() {

// Read input file
Expand Down

0 comments on commit a7735a5

Please sign in to comment.