Skip to content
Snippets Groups Projects
Commit 070ff791 authored by Julian's avatar Julian
Browse files

Package Struktur und Interface für Gamestate

parent 73d1adbc
No related branches found
No related tags found
1 merge request!1Dev
/*
* This source file was generated by the Gradle 'init' task
*/
package org.example;
package de.uni_hannover.swt.tic_tac_toe;
public class App {
public class Main {
public String getGreeting() {
return "Hello World!";
}
public static void main(String[] args) {
System.out.println(new App().getGreeting());
System.out.println(new Main().getGreeting());
}
}
/*
* This source file was generated by the Gradle 'init' task
*/
package org.example;
package de.uni_hannover.swt.tic_tac_toe;
import org.junit.Test;
import static org.junit.Assert.*;
public class AppTest {
@Test public void appHasAGreeting() {
App classUnderTest = new App();
Main classUnderTest = new Main();
assertNotNull("app should have a greeting", classUnderTest.getGreeting());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment