Exemple #1
0
def test_inquiry():
    dep = BodyRequestDeposit(Bank.BCA, 10000)
    tools.eq_(dep.inquiry, 'D')
Exemple #2
0
def test_nominal_sepuluhribu():
    dep = BodyRequestDeposit(Bank.BCA, 10000)
    tools.eq_(dep.nominal, 10000)
Exemple #3
0
def test_nominal_satu_miliar():
    dep = BodyRequestDeposit(Bank.BCA, 1000000000)
    tools.eq_(dep.nominal, 1000000000)
Exemple #4
0
def test_validate_nominal_bukan_kelipatan_seribu():
    dep = BodyRequestDeposit(Bank.BCA, 11430)
Exemple #5
0
def test_validate_nominal_lebih_besar_dari_1000000000():
    dep = BodyRequestDeposit(Bank.BCA, 1000001000)
Exemple #6
0
def test_validate_nominal_lebih_kecil_dari_10000():
    dep = BodyRequestDeposit(Bank.BCA, 7000)
Exemple #7
0
def test_validate_nominal_not_integer():
    dep = BodyRequestDeposit(Bank.BCA, 'ini bukan integer')
Exemple #8
0
def test_validate_bank():
    dep = BodyRequestDeposit('link', 10000)