<commit_before>#include <boost/regex.hpp>
#include <boost/test/unit_test.hpp>

#include "HackGrammar.hpp"

struct FixtureJumps {
  const boost::regex jump{Hasm::Hack::Grammar::JUMPS};
};

BOOST_FIXTURE_TEST_SUITE(jumps, FixtureJumps)

BOOST_AUTO_TEST_CASE(test_validJGT) {
  BOOST_CHECK(boost::regex_match("JGT", jump));
}

BOOST_AUTO_TEST_CASE(test_validJGE) {
  BOOST_CHECK(boost::regex_match("JGE", jump));
}

BOOST_AUTO_TEST_CASE(test_validJLT) {
  BOOST_CHECK(boost::regex_match("JLT", jump));
}

BOOST_AUTO_TEST_CASE(test_validJLE) {
  BOOST_CHECK(boost::regex_match("JLE", jump));
}

BOOST_AUTO_TEST_CASE(test_validJEQ) {
  BOOST_CHECK(boost::regex_match("JEQ", jump));
}

BOOST_AUTO_TEST_CASE(test_validJNE) {
  BOOST_CHECK(boost::regex_match("JNE", jump));
}

BOOST_AUTO_TEST_CASE(test_validJMP) {
  BOOST_CHECK(boost::regex_match("JMP", jump));
}

BOOST_AUTO_TEST_CASE(test_invalidEmptyJump) {
  BOOST_CHECK_EQUAL(boost::regex_match("", jump), false);
}

BOOST_AUTO_TEST_CASE(test_invalidJump) {
  BOOST_CHECK_EQUAL(boost::regex_match("JP", jump), false);
}

BOOST_AUTO_TEST_SUITE_END()<commit_msg>Fix clash of test names<commit_after>#include <boost/regex.hpp>
#include <boost/test/unit_test.hpp>

#include "HackGrammar.hpp"

struct FixtureJumps {
  const boost::regex jump{Hasm::Hack::Grammar::JUMPS};
};

BOOST_FIXTURE_TEST_SUITE(jumps, FixtureJumps)

BOOST_AUTO_TEST_CASE(jump_test_validJGT) {
  BOOST_CHECK(boost::regex_match("JGT", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJGE) {
  BOOST_CHECK(boost::regex_match("JGE", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJLT) {
  BOOST_CHECK(boost::regex_match("JLT", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJLE) {
  BOOST_CHECK(boost::regex_match("JLE", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJEQ) {
  BOOST_CHECK(boost::regex_match("JEQ", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJNE) {
  BOOST_CHECK(boost::regex_match("JNE", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_validJMP) {
  BOOST_CHECK(boost::regex_match("JMP", jump));
}

BOOST_AUTO_TEST_CASE(jump_test_invalidEmptyJump) {
  BOOST_CHECK_EQUAL(boost::regex_match("", jump), false);
}

BOOST_AUTO_TEST_CASE(jump_test_invalidJump) {
  BOOST_CHECK_EQUAL(boost::regex_match("JP", jump), false);
}

BOOST_AUTO_TEST_SUITE_END()
{'fraction_non_alphanumeric': 0.1453104359313078, 'fraction_numerical': 0.0, 'mean_word_length': 9.97584541062802, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3722878', 'n_tokens_mistral': 957, 'n_tokens_neox': 922, 'n_words': 89}