Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tic-Tac-Toe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Till Hendrik Schroven
Tic-Tac-Toe
Commits
070ff791
Commit
070ff791
authored
2 months ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Package Struktur und Interface für Gamestate
parent
73d1adbc
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Dev
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/java/de/uni_hannover/swt/tic_tac_toe/Main.java
+3
-3
3 additions, 3 deletions
app/src/main/java/de/uni_hannover/swt/tic_tac_toe/Main.java
app/src/test/java/de/uni_hannover/swt/tic_tac_toe/AppTest.java
+2
-2
2 additions, 2 deletions
...rc/test/java/de/uni_hannover/swt/tic_tac_toe/AppTest.java
with
5 additions
and
5 deletions
app/src/main/java/
org/example/App
.java
→
app/src/main/java/
de/uni_hannover/swt/tic_tac_toe/Main
.java
+
3
−
3
View file @
070ff791
/*
* This source file was generated by the Gradle 'init' task
*/
package
org.exampl
e
;
package
de.uni_hannover.swt.tic_tac_to
e
;
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 diff is collapsed.
Click to expand it.
app/src/test/java/
org/exampl
e/AppTest.java
→
app/src/test/java/
de/uni_hannover/swt/tic_tac_to
e/AppTest.java
+
2
−
2
View file @
070ff791
/*
* This source file was generated by the Gradle 'init' task
*/
package
org.exampl
e
;
package
de.uni_hannover.swt.tic_tac_to
e
;
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
());
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment