more tests for sign_up successful

sign_in_up_out
Daniel Zdravkovic 2024-06-11 11:37:06 +02:00
parent cd86769cd0
commit 735c1f38ea
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ public class SystemTest {
assertEquals(false, current_system.sign_up_user("Lukas","123Esel","Mannheim","11105","AMG","10","300","20")); assertEquals(false, current_system.sign_up_user("Lukas","123Esel","Mannheim","11105","AMG","10","300","20"));
assertEquals(true, current_system.sign_up_user("Lukas","123Esel","Mannheim","68305","AMG","10","300","20")); assertEquals(true, current_system.sign_up_user("Lukas","123Esel","Mannheim","68305","AMG","10","300","20"));
assertEquals("Lukas",current_system.getDetails()[0]);
current_system.sign_out_user();
assertEquals("",current_system.getDetails()[0]);
} }