function main() {
    if (typeof(args.iceConfig) === 'string') {
        // parse json of iceConfig to allow running like this:
        // node test/bwtest --iceConfig '{"ordered": false}'
        args.iceConfig = JSON.parse(args.iceConfig);
    }
    console.log('bwtest args:', args);
    bwtest(args);
}
/**
 * called when running this script directly from cli
 */
called when running this script directly from cli
called when running this script directly from cli
function main() {
    if (typeof(args.iceConfig) === 'string') {
        args.iceConfig = JSON.parse(args.iceConfig);
    }
    console.log('bwtest args:', args);
    bwtest(args);
}
function main ( ) { if ( typeof ( args . iceConfig ) === 'string' ) { args . iceConfig = JSON . parse ( args . iceConfig ) ; } console . log ( 'bwtest args:' , args ) ; bwtest ( args ) ; }
called when running this script directly from cli
called when running this script directly from cli
// parse json of iceConfig to allow running like this: // node test/bwtest --iceConfig '{"ordered": false}'