
#include <cassert>
#include <iostream>
using namespace std; 

#include <commandline.h>
#include <helixtest.h>
#include <typedefs.h>

using namespace helixtestscope;

int main(int argc, char ** argv)
{
  commandline c(argc,argv);

  uint prog(0);
  c.mapvar(prog,"prog");

  switch (prog)
  {
    case 0:
      cout << "./main prog=1   - helix test." << endl;
      cout << "./main prog=2   - 3 spring 2 mass static geometry test." << endl;
      cout << "./main prog=3   - 3 spring 2 mass animated, several options." << endl;
      break;
    
    case 1: helixtest::test01(argc,argv); break;
    case 2: helixtest::test02(argc,argv); break;
    case 3: helixtest::test03(argc,argv); break;

    default: cout << "error:  No case handled." << endl; return 1;
  }

  return 0;
}



