public static void main(String... args) throws Exception {
  SelfDestructor.startCountdown(60);
  TestHaltApp app=new TestHaltApp();
  if (args.length == 0) {
    app.controllerTest();
  }
 else {
    app.operations=Integer.parseInt(args[0]);
    app.flags=Integer.parseInt(args[1]);
    app.value=Integer.parseInt(args[2]);
    app.processRunRandom();
  }
}

public static void main ( String ... args ) throws Exception { SelfDestructor . startCountdown ( 60 ) ; TestHaltApp app = new TestHaltApp ( ) ; if ( args . length == 0 ) { app . controllerTest ( ) ; } else { app . operations = Integer . parseInt ( args [ 0 ] ) ; app . flags = Integer . parseInt ( args [ 1 ] ) ; app . value = Integer . parseInt ( args [ 2 ] ) ; app . processRunRandom ( ) ; } }
this method is called when executing this application from the command line .
