<commit_before>package edu.kit.iti.formal.pse.worthwhile.interpreter;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import java.math.BigInteger;

import org.junit.Assert;
import org.junit.Test;

import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
import edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterExecutionEventListenerTest.TestExecutionListener;
import edu.kit.iti.formal.pse.worthwhile.model.BooleanValue;
import edu.kit.iti.formal.pse.worthwhile.model.IntegerValue;
import edu.kit.iti.formal.pse.worthwhile.model.Value;
import edu.kit.iti.formal.pse.worthwhile.model.ast.Statement;

/**
 * @author matthias and stefan
 */
public class InterpreterASTNodeVisitorTest {
	/**
	 * Tests whether a {@link Value} is of boolean type and equals a given boolean value.
	 * 
	 * Also asserts that <code>actual</code> is not <code>null</code>.
	 * 
	 * @param expected
	 *                the expected boolean value for <code>actual</code> to equal
	 * @param actual<commit_msg>[interpreter.tests] Fix import that caused build to fail<commit_after>package edu.kit.iti.formal.pse.worthwhile.interpreter;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import java.math.BigInteger;

import org.junit.Assert;
import org.junit.Test;

import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
import edu.kit.iti.formal.pse.worthwhile.model.BooleanValue;
import edu.kit.iti.formal.pse.worthwhile.model.IntegerValue;
import edu.kit.iti.formal.pse.worthwhile.model.Value;
import edu.kit.iti.formal.pse.worthwhile.model.ast.Statement;

/**
 * @author matthias and stefan
 */
public class InterpreterASTNodeVisitorTest {
	/**
	 * Tests whether a {@link Value} is of boolean type and equals a given boolean value.
	 * 
	 * Also asserts that <code>actual</code> is not <code>null</code>.
	 * 
	 * @param expected
	 *                the expected boolean value for <code>actual</code> to equal
	 * @param actual
{'fraction_non_alphanumeric': 0.11380504700643246, 'fraction_numerical': 0.0, 'mean_word_length': 4.392, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1096158', 'n_tokens_mistral': 651, 'n_tokens_neox': 636, 'n_words': 138}