Test pour la classe Reponse
This commit is contained in:
parent
7e218cd724
commit
af0c59ee1a
16
NGCC/tests/config/TestReponse.java
Normal file
16
NGCC/tests/config/TestReponse.java
Normal file
@ -0,0 +1,16 @@
|
||||
package config;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class TestReponse {
|
||||
@Test
|
||||
void testReponse() {
|
||||
Reponse r=new Reponse("Je suis la réponse",true);
|
||||
assertEquals("Je suis la réponse",r.getIntitulé());
|
||||
assertEquals(true,r.isJuste());
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user