Browse Source

alle 4 Testfälle hinzugefügt

master
blckxsepia 6 years ago
parent
commit
0045dce372
1 changed files with 19 additions and 1 deletions
  1. 19
    1
      src/CredentialsTest.java

+ 19
- 1
src/CredentialsTest.java View File

@@ -10,10 +10,28 @@ public class CredentialsTest{
public void testOne(){
Credentials c = new Credentials("", "");
assertNotNull(c);
}

@Test
public void testTwo(){

}
Credentials c = new Credentials("hofmannol", "GERONIMO");
assertTrue(c.valid());
}

@Test
public void testThree(){

Credentials c = new Credentials("hofmannolli", "GERONIMOil");
assertFalse(c.valid());
}

@Test
public void testFour(){

Credentials c = new Credentials("hofmannoll", "GERONIMOil");
assertFalse(c.valid());
}


}

Loading…
Cancel
Save