/**
 * A driver for testing the UnitConverter class
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Driver
{
    /**
     * The entry point of the application
     *
     * @param args   The command-line arguments
     */
    public static void main(String[] args)
    {
	double                converted, original;
	String                from, to;
	UnitConverter         calculator;


	calculator = new UnitConverter();
	

	from      = "inches";
	to        = "feet";
	original  = 10.0;
	converted = calculator.convert(original, from, to);
	System.out.println(original+" "+from+" = "+converted+" "+to);
	
    }

}
