<commit_before>"""
Some testing for Marcher
"""

import Image
from marcher import Marcher

def test():


    surrounded = Image.open("test_input/surrounded.bmp")
    surr_pix = surrounded.load()

    separate = Image.open("test_input/separate.bmp")
    sepa_pix = separate.load()

    joined = Image.open("test_input/joined.bmp")
    join_pix = joined.load()

    blue = (0,0,255)
    green = (0,255,0)

    colours = [blue, green]

    msurr = Marcher("test_input/surrounded.bmp")
    msepa = Marcher("test_input/separate.bmp")
    mjoin = Marcher("test_input/joined.bmp")

    for colour in colours:
<commit_msg>Cleaned up the file<commit_after>"""
Tests for Marcher

<NAME>, 2014
"""

import Image
from marcher import Marcher

def test():

    surrounded = Image.open("test_input/surrounded.bmp")
    surr_pix = surrounded.load()

    separate = Image.open("test_input/separate.bmp")
    sepa_pix = separate.load()

    joined = Image.open("test_input/joined.bmp")
    join_pix = joined.load()

    blue = (0,0,255)
    green = (0,255,0)

    colours = [blue, green]

    msurr = Marcher("test_input/surrounded.bmp")
    msepa = Marcher("test_input/separate.bmp")
    mjoin = Marcher("test_input/joined.bmp")

    for colour in colours:

{'fraction_non_alphanumeric': 0.13790322580645162, 'fraction_numerical': 0.01935483870967742, 'mean_word_length': 3.5127272727272727, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2177377', 'n_tokens_mistral': 469, 'n_tokens_neox': 445, 'n_words': 88}