Skip to content

Commit

Permalink
simple 3x3 board
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazee committed Nov 10, 2023
1 parent 0deb82d commit cc1feb4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/test/java/org/samples/SampleTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ public void testNormalJunit()
assertEquals(5, 5);
}
@Test
public void testWithApprovalTests()
public void printSimpleBoard()
{
Approvals.verify("Hello World");
// Approvals.verify("Hello World");
int[][] board = new int[3][3];
for (int y = 0; y < 3; y++) {
for (int x = 0; x < 3; x++) {
System.out.print(board[y][x]);
}
System.out.println();
}

}
/**
* note: this requires GSON which is currently added in the pom.xml file.
Expand Down

0 comments on commit cc1feb4

Please sign in to comment.