예제 #1
0
 @Test
 public void testCeinture2() {
   Personne p = new Personne(0, "pseudo", "mdp", "");
   assertEquals("", p.getCeinture());
 }
예제 #2
0
 @Test
 public void testCeinture3() {
   Personne p = new Personne(-1, "pseudo", "mdp", null);
   assertEquals(null, p.getCeinture());
 }
예제 #3
0
 @Test
 public void testCeinture1() {
   Personne p = new Personne(1, "pseudo", "mdp", "ceinture");
   assertEquals("ceinture", p.getCeinture());
 }