<commit_before>/**
  *  @copyright Copyright (c) 2014, J-PET collaboration 
  *  @file JPetCmdParserTest.cpp
  *  @author <NAME>, <EMAIL>
  */ 
  #include "../JPetCmdParser/JPetCmdParser.h"
  
  #define BOOST_TEST_DYN_LINK
  #define BOOST_TEST_MODULE  JPetCmdParserTest
  #include <boost/test/unit_test.hpp>
  
  BOOST_AUTO_TEST_SUITE(FirstSuite)
  
  
  BOOST_AUTO_TEST_CASE( my_test )
  {
    BOOST_CHECK( 2 == 1 );
  }
  
  BOOST_AUTO_TEST_SUITE_END()
  <commit_msg>added CMDParser test stub<commit_after>/**
  *  @copyright Copyright (c) 2014, J-PET collaboration 
  *  @file JPetCmdParserTest.cpp
  *  @author <NAME>, <EMAIL>
  */ 
  #include "../JPetCmdParser/JPetCmdParser.h"
  
  #define BOOST_TEST_DYN_LINK
  #define BOOST_TEST_MODULE  JPetCmdParserTest
  #include <boost/test/unit_test.hpp>
  
  BOOST_AUTO_TEST_SUITE(FirstSuite)

  BOOST_AUTO_TEST_CASE( parsing_correct )
  {
	const int argc = 10;
	const char * argv[argc];
	argv[0] = "test";
	argv[1] = "-t";
	argv[2] = "hld";
	argv[3] = "-r";
	argv[4] = "145";
	argv[5] = "180";
	argv[6] = "-f";
	argv[7] = "testfile.hld";
	argv[8] = "-p";
	argv[9] = "trbnumbers.blahblah";
	
	JPetCmdParser parser;
	parser.parse(argc, argv);
	BOOST_CHECK_EQUAL( (std::string)argv[2], parser.getFileType() );
  }
  
  BOOST_AUTO_TEST_CASE( my_test )
  {
    BOOST_CHECK( 2 == 1 );
  }
  
  BOOST_AUTO_TEST_SUITE_END()
  
{'fraction_non_alphanumeric': 0.14714494875549047, 'fraction_numerical': 0.022693997071742314, 'mean_word_length': 3.7301038062283736, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4807386', 'n_tokens_mistral': 602, 'n_tokens_neox': 565, 'n_words': 95}