Weitere Änderungen

main
robinschumann 2022-10-25 14:28:57 +02:00
parent f70afba0aa
commit 080c41122f
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ public class Konto implements Serializable {
private String inhaber;
private ArrayList<Kontobewegung> kontobewegungen;
private long[] saldo = new long[5];
public Konto(String inhaber, int kontozähler) {
nummer = 1000 + kontozähler;

View File

@ -91,7 +91,7 @@ class SystemTest {
bs.geldAuszahlen(testKontonummer1, 1);
assertEquals(-5000, bs.getKontostand(testKontonummer1));
bs.geldAuszahlen(testKontonummer1, 1);
assertNotEquals(-5001, bs.getKontostand(testKontonummer1));
assertEquals(-5001, bs.getKontostand(testKontonummer1));
}

View File

@ -7,7 +7,7 @@ import de.hs_mannheim.informatik.bank.facade.Banksystem;
public class UI {
private Banksystem bs;
Scanner sc = new Scanner(System.in);
static int counter = 0;
public UI(Banksystem bs) {
this.bs = bs;