Bug 246 - When end turn with played invalid set to pool, no tile is drawn
Summary: When end turn with played invalid set to pool, no tile is drawn
Status: RESOLVED FIXED
Alias: None
Product: Gp10
Classification: Unclassified
Component: java (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Assignee: whng28-c
URL:
Depends on:
Blocks:
 
Reported: 2017-12-05 00:13 HKT by whng28-c
Modified: 2017-12-05 00:48 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whng28-c 2017-12-05 00:13:12 HKT
Precondition:
- one valid set in pool

Steps:
1. player have 3 tiles in rack which form a invalid set (e.g. 10 Yellow, 11 Yellow, 11 Yellow)
2. add the invalid tile to pool
3. end the round

Expected:
- invalid move, draw a tile

Actual:
- invalid move, backup has done, but not draw a tile

JUnit test: test_round_optionSwitch_24()
Related bug: 214