@Test public void testMdp2() { Personne p = new Personne(0, "pseudo", "", "ceinture"); assertEquals("", p.getMdp()); }
@Test public void testMdp3() { Personne p = new Personne(-1, "pseudo", null, "ceinture"); assertEquals(null, p.getMdp()); }
@Test public void testMdp1() { Personne p = new Personne(1, "pseudo", "mdp", "ceinture"); assertEquals("mdp", p.getMdp()); }