<commit_before>package ij.process;

import static org.junit.Assert.*;


import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

import loci.formats.FormatException;
import loci.plugins.util.ImagePlusReader;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

public class FloatProcessorTest {

	private static float[][] imageFloatData;

    public static float[][] combined;

    /*
     * Open an known image for internal testing...
     */
	@BeforeClass
	public static void runBeforeClass()
	{
	    String id = "/Volumes/data/khoros/samples/head.xv";
		ImagePlusReader imagePlusReader = new ImagePlusReader();
		ImageProcessor imageProcessor = null;


		try {
			imagePlusReader.setId(id);
		} catch (FormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		try {
			imageProcessor = imagePlusReader.openProcessors(0)[0];<commit_msg>b test<commit_after>package ij.process;

import static org.junit.Assert.*;


import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

import loci.formats.FormatException;
import loci.plugins.util.ImagePlusReader;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

public class FloatProcessorTest {
    

	private static float[][] imageFloatData;

    public static float[][] combined;

    /*
     * Open an known image for internal testing...
     */
	@BeforeClass
	public static void runBeforeClass()
	{
	    String id = "/Volumes/data/khoros/samples/head.xv";
		ImagePlusReader imagePlusReader = new ImagePlusReader();
		ImageProcessor imageProcessor = null;


		try {
			imagePlusReader.setId(id);
		} catch (FormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		try {
			imageProcessor = imagePlusReader.openProcessors(0)[0];
{'fraction_non_alphanumeric': 0.1039426523297491, 'fraction_numerical': 0.0017921146953405018, 'mean_word_length': 4.157043879907621, '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': '2957272', 'n_tokens_mistral': 698, 'n_tokens_neox': 641, 'n_words': 158}