Trade Test¶
- tests.trade_test.test_accept_trade()[source]¶
Test that the Trade object is marked as accepted after calling accept_trade.
- Returns:
Nothing.
- tests.trade_test.test_cancel_trade()[source]¶
Test that the Trade object is marked as not accepted after calling cancel_trade.
- Returns:
Nothing.
- tests.trade_test.test_execute_trade()[source]¶
Test that execute_trade() properly transfers resources between players.
- Returns:
Nothing.
- tests.trade_test.test_get_offered_resource()[source]¶
Test that get_offered_resource() returns the correct offered resources.
- Returns:
Nothing.