Sobes.tech
Middle

Het is nodig om de nieuwe functionaliteit in de mobiele app te controleren: Er zijn klanten met bankrekeningen, zij kunnen hebben: anonieme rekening: tot 15 duizend roebel geïdentificeerde rekening: tot 60 duizend roebel Er mag slechts één open rekening tegelijk zijn. Operaties die kunnen worden uitgevoerd: aankoop, bijvulling (van kaart en SBP), terugbetaling van aankoop, Portemonnee verbeteren Welke controles voer je uit in het formaat: controle en verwachte resultaat? --- verleden -> gedaan -> geworden Voorbeeld: anoniem - 0 - bijvulling 100 - succes saldo 100 anoniem 0 bijvulling 100 succes saldo 100 anoniem 100 aankoop 50 succes saldo 50 anoniem 50 aankoop 100 fout saldo 50 Proberen een geïdentificeerde rekening te openen, fout afwijzing --- Voorbeeld: anoniem - 0 - bijvulling 100 - succes saldo 100 anoniem 0 bijvulling 15000 succes saldo 15000 anoniem 15000 bijvulling 0.1 fout anoniem 15000 terugbetaling 0.1 succes saldo 14999.9 anoniem 100 aankoop 50 succes saldo 50 anoniem 50 aankoop 100 fout saldo 50 Proberen een geïdentificeerde rekening te openen, succes anoniem saldo 50 gesloten saldo geïdentificeerd 50 geïdentificeerd 50 bijvulling 30000 succes saldo 30050 geïdentificeerd 30050 bijvulling 30000 fout saldo 30050 geïdentificeerd saldo 30050 aankoop 50 succes saldo 30000 geïdentificeerd saldo 30000 terugbetaling 50 succes saldo 30050 --- anoniem 0 bijvulling 15000 succes saldo 15000 anoniem 15000 bijvulling 0.1 fout anoniem 15000 terugbetaling 0.1 succes saldo 15000 0.1 overgemaakt naar speciale rekening anoniem 100 aankoop 50 succes saldo 50 anoniem 50 aankoop 100 fout saldo 50 Proberen een geïdentificeerde rekening te openen, succes anoniem saldo 50 gesloten saldo geïdentificeerd 50 geïdentificeerd 50 bijvulling 30000 succes saldo 30050 geïdentificeerd 30050 bijvulling 30000 fout saldo 30050 geïdentificeerd saldo 30050 aankoop 50 succes saldo 30000 geïdentificeerd saldo 30000 terugbetaling 50 succes saldo 30050