mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-06-28 05:02:31 +00:00
initial commit
This commit is contained in:
14
app/src/main/java/pokemudry/App.java
Normal file
14
app/src/main/java/pokemudry/App.java
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* This Java source file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
package pokemudry;
|
||||
|
||||
public class App {
|
||||
public String getGreeting() {
|
||||
return "Hello World!";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new App().getGreeting());
|
||||
}
|
||||
}
|
14
app/src/test/java/pokemudry/AppTest.java
Normal file
14
app/src/test/java/pokemudry/AppTest.java
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* This Java source file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
package pokemudry;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class AppTest {
|
||||
@Test void appHasAGreeting() {
|
||||
App classUnderTest = new App();
|
||||
assertNotNull(classUnderTest.getGreeting(), "app should have a greeting");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user