Fix: Test Section Added

This commit is contained in:
rubenpirreram
2026-03-14 19:08:17 +01:00
parent 81ba7977c5
commit 3b3ce4ccac
2 changed files with 20 additions and 1 deletions
+11
View File
@@ -42,6 +42,12 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
@@ -55,6 +61,11 @@
<target>25</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
@@ -1,4 +1,12 @@
package it.polimi.ingsw.gc14;
public class AppTest {
import junit.framework.TestCase;
import org.junit.jupiter.api.Test;
public class AppTest extends TestCase {
@Test
public void testApp()
{
assertTrue(12+1==11);
}
}