Test pour la classe Reponse

This commit is contained in:
Yessine 2019-09-19 14:54:30 +02:00
parent 7e218cd724
commit af0c59ee1a

View 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());
}
}