

/**
 * The test class GameModelTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class GameModelTest extends junit.framework.TestCase
{
    /**
     * Default constructor for test class GameModelTest
     */
    public GameModelTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp()
    {
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown()
    {
    }
    
    public void testBlah() {
        GameModel myModel = new GameModel();
        
        String[] commands = {"go west","go south", "look", 
                  "get axe", "go north", "kill zombie"};
        String output="";
        for(String s: commands) {
            Command c = Command.getCommand(s);
            output = myModel.processCommand(c);
        }
        assertEquals(output,"You killed the zombie");

    }
}
