<commit_before>import binwalk
from nose.tools import ok_, eq_
from os.path import dirname

def test_hello_world_simple_scan():
    scan_result = binwalk.scan(dirname(__file__)+'/input-vectors/hello-world.ihex', signature=True,quiet=True)
    ok_(scan_result != [])
    eq_(len(scan_result), 1)<commit_msg>tests: ihex: verify hit type<commit_after>import binwalk
from nose.tools import ok_, eq_
from os.path import dirname

def test_hello_world_simple_scan():
    scan_result = binwalk.scan(dirname(__file__)+'/input-vectors/hello-world.ihex', signature=True,quiet=True)
    ok_(scan_result != [])
    eq_(len(scan_result), 1)
    eq_(scan_result[0].results[0].description, 'Intel HEX data, record type: data')
{'fraction_non_alphanumeric': 0.12834978843441466, 'fraction_numerical': 0.005641748942172073, 'mean_word_length': 5.96078431372549, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3556002', 'n_tokens_mistral': 244, 'n_tokens_neox': 234, 'n_words': 48}