
package tmcsim.utilities;

import java.io.File;
import junit.framework.TestCase;

/**
 *
 * @author jdalbey
 */
public class BuildHighwayFileTest extends TestCase
{
    
    public BuildHighwayFileTest(String testName)
    {
        super(testName);
    }
    
    @Override
    protected void setUp() throws Exception
    {
        super.setUp();
    }
    
    @Override
    protected void tearDown() throws Exception
    {
        super.tearDown();
    }

    /** Just a smoke test to see if it creates the output file */
    public void testCheckFileCreated()
    {
        System.out.println("createVDSlookup");
        BuildHighwayFile app = new BuildHighwayFile();
        app.createLDSdict();
        app.createVDSdict();
        app.createLanelookup();
        app.createHighwayFile();
        app.showLeftoverVDS();

        String filename = BuildHighwayFile.dirpath +BuildHighwayFile.loopFileName;
        File f = new File(filename);
        assert(f.exists());
    }

    
}
