forked from hummel/Bank-System
Weitere Änderungen
parent
f70afba0aa
commit
080c41122f
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue