constructeur dans les methodes de stats test

This commit is contained in:
NicolasFabregas 2021-02-01 18:19:52 +01:00
parent 3a3d7c28bf
commit c5bff78008

View file

@ -5,7 +5,6 @@ import org.junit.jupiter.api.Test;
import java.sql.SQLException;
public class StatisticsTest {
Statistics s =new Statistics();
//c.setTaille();
//c.afficherChiffre1();
//c.afficherNumBonus();
@ -17,39 +16,47 @@ public class StatisticsTest {
@Test
public void setTaille(){
Statistics s =new Statistics();
s.setTaille();
}
@Test
public void afficherChiffre1() throws SQLException{
Statistics s =new Statistics();
s.afficherChiffre1();
}
@Test
public void afficherCombinaisons2() throws SQLException{
Statistics s =new Statistics();
s.afficherCombinaisons2(4);
}
@Test
public void afficherCombinaisons3() throws SQLException{
Statistics s =new Statistics();
s.afficherCombinaisons3(32,16);
}
@Test
public void afficherBonus() throws SQLException{
Statistics s =new Statistics();
s.afficherBonus();
}
@Test
public void afficherNumBonus() throws SQLException{
Statistics s =new Statistics();
s.afficherNumBonus(1);
}
@Test
public void afficherNumBonusCombi2() throws SQLException{
Statistics s =new Statistics();
s.afficherNumBonusCombi2(5,10);
}
@Test
public void afficherNumBonusCombi3() throws SQLException{
Statistics s =new Statistics();
s.afficherNumBonusCombi3(28,14,37);
}
}