Trade Properties Acceptance Test
If player B wishes to purchase a property from player A, player B will name an amount of money to pay player A for the property they wish to own. Player A can decide to accept or decline the offer.
tradeAccept*
fit.ActionFixture | ||
start | edu.ncsu.realestate.Trade | |
press | initialize game board | |
enter | number of players | 2 |
enter | player dice roll | 1 |
press | purchase property | |
press | end turn | |
press | trade property | |
enter | player | 0 |
enter | property | Blue 1 |
enter | amount | 200 |
press | OK | |
press | player 1 OK | |
check | player property | Blue 1; |
check | player money | 1300 |
press | end turn | |
check | player property | |
check | player money | 1600 |
tradeDecline*
fit.ActionFixture | ||
start | edu.ncsu.realestate.Trade | |
press | initialize game board | |
enter | number of players | 2 |
enter | player dice roll | 1 |
press | purchase property | |
press | end turn | |
press | trade property | |
enter | player | 0 |
enter | property | Blue 1 |
enter | amount | 200 |
press | OK | |
press | player 1 no | |
check | player property | |
check | player money | 1500 |
press | end turn | |
check | player property | Blue 1; |
check | player money | 1400 |
Modified: 8/22/2005
Return to FIT Summary
Return to RealEstate Example
Copyright © 2004-2006 North Carolina State University, Dr. Laurie Williams, Dright Ho, and Sarah Smith