1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-02-17 04:22:45 +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. * This Java source file was generated by the Gradle 'init' task.
*/ */
package pokemudry;
public class App { public class PokeMudry {
public String getGreeting() { public String getGreeting() {
return "Hello World!"; return "Hello World!";
} }
public static void main(String[] args) { 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. * This Java source file was generated by the Gradle 'init' task.
*/ */
package pokemudry;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*;
class AppTest { class AppTest {
@Test void appHasAGreeting() { @Test void appHasAGreeting() {
App classUnderTest = new App(); PokeMudry classUnderTest = new PokeMudry();
assertNotNull(classUnderTest.getGreeting(), "app should have a greeting"); assertNotNull(classUnderTest.getGreeting(), "app should have a greeting");
} }
} }