1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2024-11-23 01:43:28 +00:00
This commit is contained in:
Rémi Heredero 2022-05-25 15:35:23 +02:00
parent 8b71ce1c54
commit 2b73cff725
5 changed files with 4 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,13 @@
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package pokemudry;
public class App {
public class PokeMudry {
public String getGreeting() {
return "Hello World!";
}
public static void main(String[] args) {
System.out.println(new App().getGreeting());
System.out.println(new PokeMudry().getGreeting());
}
}

View File

@ -1,14 +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();
PokeMudry classUnderTest = new PokeMudry();
assertNotNull(classUnderTest.getGreeting(), "app should have a greeting");
}
}