add a javadoc

This commit is contained in:
JunkJumper 2019-05-27 18:15:14 +02:00
parent a72681e9b6
commit d276b330f4

View File

@ -7,6 +7,20 @@ import org.junit.jupiter.api.Test;
import joueurs.Joueur; import joueurs.Joueur;
import piecesEchiquier.*; import piecesEchiquier.*;
/*
* @AfterEach is used to signal that the annotated method should beexecuted after each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory,and @TestTemplate method in the current test class.
* org.junit.jupiter.api.AfterEach;
*
* @BeforeEach is used to signal that the annotated method should beexecuted before each @Test, @RepeatedTest, @ParameterizedTest, @TestFactory,and @TestTemplate method in the current test class.
* org.junit.jupiter.api.BeforeEach;
*
* @Test is used to signal that the annotated method is a test method.
* @Test methods must not be private or staticand must not return a value.
* @Test methods may optionally declare parameters to beresolved by ParameterResolvers.
* @Test may also be used as a meta-annotation in order to createa custom composed annotation that inherits the semantics of @Test.
* org.junit.jupiter.api.Test;
* */
class testGeneraux { class testGeneraux {
private Echiquier e; private Echiquier e;
private Joueur jb; private Joueur jb;