Test pour la classe Reponse
This commit is contained in:
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<EFBFBD>());
|
||||||
|
assertEquals(true,r.isJuste());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user