Browse Source

add ExampleTest for Surefire

main
fdai7736 11 months ago
parent
commit
fc03608c4a
  1. 14
      src/test/java/de/hsfulda/onses/ExampleTest.java

14
src/test/java/de/hsfulda/onses/ExampleTest.java

@ -0,0 +1,14 @@
package de.hsfulda.onses;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
public class ExampleTest {
@Test
@DisplayName("Example Test")
public void exampleTest() {
int test = 1 + 1;
assertEquals(2, test);
}
}
Loading…
Cancel
Save