Skip to content

Commit

Permalink
make some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySentry committed Dec 13, 2023
1 parent ec2850d commit 5c3931d
Showing 5 changed files with 378 additions and 16 deletions.
8 changes: 7 additions & 1 deletion app/integration_tests/test_banker.py
Original file line number Diff line number Diff line change
@@ -7,4 +7,10 @@ def test_deposit():
bank.deposit(10)
assert bank.balance == 10
bank.withdraw(1)
assert bank.balance == 9
assert bank.balance == 9

def test_backdoor():
bank = Banker()
assert bank.balance == 0
bank.backdoor()
assert bank.balance == 2000
2 changes: 1 addition & 1 deletion app/integrator/banker.py
Original file line number Diff line number Diff line change
@@ -14,4 +14,4 @@ def reset(self):
self.balance = 0

def backdoor(self):
self.balance += 1000
self.balance += 2000
2 changes: 1 addition & 1 deletion app/tools/dictionary.py
Original file line number Diff line number Diff line change
@@ -16,4 +16,4 @@ def ops():
return "Opposites or rivals from another gang or opposing group"

def computer():
return "Da smart machines of the future."
return "Da smart machines of the future.."
2 changes: 1 addition & 1 deletion app/unit_tests/test_dictionary.py
Original file line number Diff line number Diff line change
@@ -15,4 +15,4 @@ def test_ops():
assert Dictionary.ops() == "Opposites or rivals from another gang or opposing group"

def test_computer():
assert Dictionary.computer() == "Da smart machines of the future."
assert Dictionary.computer() == "Da smart machines of the future.."
Loading

0 comments on commit 5c3931d

Please sign in to comment.