Пример #1
0
 @Test
 public void testMdp2() {
   Personne p = new Personne(0, "pseudo", "", "ceinture");
   assertEquals("", p.getMdp());
 }
Пример #2
0
 @Test
 public void testMdp3() {
   Personne p = new Personne(-1, "pseudo", null, "ceinture");
   assertEquals(null, p.getMdp());
 }
Пример #3
0
 @Test
 public void testMdp1() {
   Personne p = new Personne(1, "pseudo", "mdp", "ceinture");
   assertEquals("mdp", p.getMdp());
 }