Subclass this class for each component that supports
ICarriable.
Unit Tests
These tests are really not finished, just there for the sake of it.
Methods
|
|
setUp
testDropDone
testDropFailNotHave
testGetDone
testGetFailSize
testGiveDone
testGiveFailNotHave
|
|
setUp
|
setUp ( self )
|
|
testDropDone
|
testDropDone ( self )
check that you can put the object into your own container.
|
|
testDropFailNotHave
|
testDropFailNotHave ( self )
check that you need to have the object in your inventory
|
|
testGetDone
|
testGetDone ( self )
check that you are able to pick up an object.
|
|
testGetFailSize
|
testGetFailSize ( self )
check that you can't pick up too big items
|
|
testGiveDone
|
testGiveDone ( self )
check that you can give away a normal object
|
|
testGiveFailNotHave
|
testGiveFailNotHave ( self )
check that you need to have the object before giving it away
|