nsresult res = NS_OK;
nsresult testFromArgs(int argc, char **argv){  if ((argc == 5) && (!strcmp(argv[1], "-tdec"))) {    res = testDecoderFromFiles(argv[2], argv[3], argv[4]);  } else if ((argc == 5) && (!strcmp(argv[1], "-tenc"))) {    res = testEncoderFromFiles(argv[2], argv[3], argv[4]);  } else {    printf("Usage:\n");    printf("  TestUConv.exe\n");    printf("  TestUConv.exe -tdec encoding inputEncodedFile expectedResultUnicodeFile\n");    printf("  TestUConv.exe -tenc encoding inputUnicodeFile expectedResultEncodedFile\n");  }  return res;}