Skip to content
hsye185 edited this page Aug 27, 2015 · 12 revisions

Test Suite

The following is a list of all the tests in our current test suite. The aim of this testing suite was to make sure our code base has a solid foundation upon which more intricate tasks and functions may be implemented.

All major aspects of the code base have been tested here. The only thing missing from this suite which I would have loved to add would be the AI, however we've been constantly changing the AI to be better and this resulted in the testing having to be halted. With that being said, our testing so far has allowed us to create an AI that is doing great, If we had more time to work on this project, I would have liked to come back and test some of the AI stuff.

Acceptance Build Tests
World map generated
Orchard rows generated
Robot Entities run file generated
Human Entities run file generated
Animal Entities run file generated
all generated entities initialized in world file
roscore has started
stage has started
world map loaded into stage
all entities launched
_________________________________________________________
Robot Functions
Face South
Face East
Face North
Face South
Turn Right
Turn Left
XY Move Right
XY Move Left
XY Move Up
XY Move Down
XY Move Diagonal Up then Right
XY Move Diagonal Down then Left
XY Move Diagonal Up then Left
XY Move Diagonal Down then Right
YX Move Right
YX Move Left
YX Move Up
YX Move Down
YX Move Diagonal Up then Right
YX Move Diagonal Down then Left
YX Move Diagonal Up then Left
YX Move Diagonal Down then Right
_________________________________________________________
Entity Setup
Setup : Picker Default Field Setup, Topic Setup
Setup : Carrier Default Field Setup, Topic Setup
Setup : Worker Default Field Setup, Topic Setup
Setup : Visitor Default Field Setup, Topic Setup
Setup : Animal Default Field Setup, Topic Setup
_________________________________________________________
Picker/Carrier Communication
Send location to carrier : Picker location updated in carrier array
Receive location from picker : Picker location updated in array
_________________________________________________________
GUI Responsiveness
Picker Update : Create pic.sta file, see if GUI updates accordingly
Carrier Update : Create car.sta file, see if GUI updates accordingly
Visitor Update : Create vis.sta file, see if GUI updates accordingly
Worker Update : Create wor.sta file, see if GUI updates accordingly
Animal Update : Create ani.sta file, see if GUI updates accordingly
_________________________________________________________
Clone this wiki locally