<commit_before>
package org.bonej.wrapperPlugins;

import static org.junit.Assert.assertTrue;

import java.util.stream.Stream;

import net.imagej.ImageJ;

import org.junit.AfterClass;
import org.junit.Test;
import org.scijava.command.CommandInfo;
import org.scijava.plugin.PluginInfo;

/**
 * There is a number of tools which we want to offer BoneJ users, but on which
 * BoneJ2 plugins do not depend on in compilation or testing This test checks that
 * those tools are present in the build environment.
 *
 * @author <NAME>
 */
public class BundleTest {

	private static final ImageJ IMAGE_J = new ImageJ();

	@AfterClass
	public static void oneTimeTearDown() {
		IMAGE_J.context().dispose();
	}

	@Test
	public void checkErode() {
		final Stream<CommandInfo> commands = IMAGE_J.command().getCommands()
			.stream();

		assertTrue(commands.anyMatch(i -> i.getClassName().equals(
			"net.imagej.plugins.commands.binary.ErodeBinaryImage")));
	}

	@Test
	public void checkDilate() {
		final Stream<CommandInfo> commands = IMAGE_J.command().getCommands()
			.stream();

		assertTrue(commands.anyMatch(i -> i.getClassName().equals(
			"net.imagej.plugins.commands.binary.DilateBinaryImage")));
	}

	@Test
    public void checkScancoISQFormat() {
        final Stream<PluginInfo<?>> infoStream = IMAGE_J.plugin().getPlugins().stream();

        assertTrue(infoStream.anyMatch(i -> i.getClassName().equals("io.scif.formats.ScancoISQFormat")));
    }

    @Test
    public void checkKontronFormat() {
        final Stream<PluginInfo<?>> infoStream = IMAGE_J.plugin().getPlugins().stream();

        assertTrue(infoStream.anyMatch(i -> i.getClassName().equals("io.scif.formats.KontronFormat")));
    }

    // TODO add test for StratecPQCT format
}<commit_msg>Remove unnecessary TODO<commit_after>
package org.bonej.wrapperPlugins;

import static org.junit.Assert.assertTrue;

import java.util.stream.Stream;

import net.imagej.ImageJ;

import org.junit.AfterClass;
import org.junit.Test;
import org.scijava.command.CommandInfo;
import org.scijava.plugin.PluginInfo;

/**
 * There is a number of tools which we want to offer BoneJ users, but on which
 * BoneJ2 plugins do not depend on in compilation or testing This test checks that
 * those tools are present in the build environment.
 *
 * @author <NAME>
 */
public class BundleTest {

	private static final ImageJ IMAGE_J = new ImageJ();

	@AfterClass
	public static void oneTimeTearDown() {
		IMAGE_J.context().dispose();
	}

	@Test
	public void checkErode() {
		final Stream<CommandInfo> commands = IMAGE_J.command().getCommands()
			.stream();

		assertTrue(commands.anyMatch(i -> i.getClassName().equals(
			"net.imagej.plugins.commands.binary.ErodeBinaryImage")));
	}

	@Test
	public void checkDilate() {
		final Stream<CommandInfo> commands = IMAGE_J.command().getCommands()
			.stream();

		assertTrue(commands.anyMatch(i -> i.getClassName().equals(
			"net.imagej.plugins.commands.binary.DilateBinaryImage")));
	}

	@Test
    public void checkScancoISQFormat() {
        final Stream<PluginInfo<?>> infoStream = IMAGE_J.plugin().getPlugins().stream();

        assertTrue(infoStream.anyMatch(i -> i.getClassName().equals("io.scif.formats.ScancoISQFormat")));
    }

    @Test
    public void checkKontronFormat() {
        final Stream<PluginInfo<?>> infoStream = IMAGE_J.plugin().getPlugins().stream();

        assertTrue(infoStream.anyMatch(i -> i.getClassName().equals("io.scif.formats.KontronFormat")));
    }
}
{'fraction_non_alphanumeric': 0.12849322961682513, 'fraction_numerical': 0.0005762028233938346, 'mean_word_length': 4.284627092846271, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 25, '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': '7662661', 'n_tokens_mistral': 1128, 'n_tokens_neox': 1086, 'n_words': 244}