constructeur dans les methodes de stats test
This commit is contained in:
parent
3a3d7c28bf
commit
c5bff78008
1 changed files with 8 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue