import junit.framework.*;
/*
 * Created on Nov 15, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author mfincher
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class SurveyDirectorTakerTest extends TestCase {

	public static void main(String[] args) {
        junit.swingui.TestRunner.main(new String[] {"SurveyDirectorTakerTest"});
	}
    static public junit.framework.Test suite() {
        junit.framework.TestSuite s = new junit.framework.TestSuite();
        s.addTestSuite(SurveyDirectorTakerTest.class);
        return s;
    };
	/**
	 * Constructor for SurveyDirectorTakerTest.
	 * @param name
	 */
	public SurveyDirectorTakerTest(String name) {
		super(name);
	}

	public void testMain() {
	}

    public void testFormatNVP() {
        Assert.assertEquals(
                "&a=b",SurveyDirectorTaker.formatNVP("a","b"));
        Assert.assertEquals(
                "&a=b+",SurveyDirectorTaker.formatNVP("a","b "));
        Assert.assertEquals(
                "&a=b%5E",SurveyDirectorTaker.formatNVP("a","b^"));
        Assert.assertEquals(
                "",SurveyDirectorTaker.formatNVP(null,null));
        Assert.assertEquals(
                "&a=",SurveyDirectorTaker.formatNVP("a",null));
        Assert.assertEquals(
                "&a=",SurveyDirectorTaker.formatNVP("a",""));
    }    
	public void testSurveyDirectorTaker() {
	}

	public void testGetRandomChoicesFromInputRadioButtons() {
        System.out.println("Working...");
        Assert.assertEquals(1,1);
        System.out.println("done.");
        }


}
