Skip to content

Commit

Permalink
test: Add unit test for addition in SimpleMathTest
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jul 6, 2024
1 parent 825d642 commit 5494fd3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/java/src/test/java/SimpleMathTwoTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;

class SimpleMathTest {
@Test
void testAddition() {
assertEquals(4, 3 + 1, "3 + 1 should equal 4");
}
}

0 comments on commit 5494fd3

Please sign in to comment.