Skip to content

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinnzz committed Apr 15, 2024
1 parent 5825fe8 commit 7f86882
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -961,25 +961,31 @@ testers are expected to do more *exploratory* testing.

1. Lending money to a person when all persons are being shown

1. Prerequisites: List all persons using the `list` command. Multiple persons in the list with money owed $0.
1. Prerequisites: List all persons using the `list` command. Multiple persons in the list with first contact having
$0 for money owed.

1. Test case: `lend 1 $/50`<br>
Expected: First contact in the list now owes you $50 more.

1. Test case: `lend x $/50` (where x is larger than list size)<br>
Expected: Amount owed of all contacts remain the same, error details show that index is invalid.

1. Test case: `lend 1 $/100001`<br>
Expected: Amount owed of first contact remains the same, error details shown in status message.

### Splitting an amount between user and a group

1. Splitting an amount between user and a group when all persons are being shown

1. Prerequisites: List all persons using the `list` command. Multiple persons in the list with money owed $0.
1. Prerequisites: List all persons using the `list` command. Multiple persons in the list with first and second
contact having $0 for money owed.

1. Test case: `split 1 2 $/30`<br>
Expected: First and second contact in the list now owe you $10 more.

1. Test case: `split 1 2 $/-30`<br>
Expected: Amount owed of first and second contacts remain the same, error details shown in status message.

1. Test case: `split 1 2 $/100001`<br>
Expected: Amount owed of first and second contacts remain the same, error details shown in status message.

Expand All @@ -991,8 +997,10 @@ testers are expected to do more *exploratory* testing.

1. Test case: `remark 1 r/He likes to swim`<br>
Expected: First contact now has remark `He likes to swim`.

1. Test case: `remark 1 r/`<br>
Expected: First contact now has empty remark.

1. Test case: `remark x r/She likes to jog` (where x is larger than list size)<br>
Expected: Remark of all contacts remain the same, error details shown in status message.

Expand Down

0 comments on commit 7f86882

Please sign in to comment.