<commit_before>package org.pdxfinder.services.constants;

import org.junit.Test;
import org.pdxfinder.BaseTest;

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

public class DataUrlTest extends BaseTest {


    private final static String ASSERTION_ERROR = "Unknown Data Url Found: ";


    @Test
    public void given_DataUrlEnumListCount_EnsureListIntegrity() {

        final int DATA_URL_COUNT = 8;

        assertEquals(DATA_URL_COUNT, DataUrl.values().length);
    }


    @Test
    public void given_DataUrl_When_EnumListIsChanged_Then_Error() {

        boolean expected = true;
        String message = "";

        for (DataUrl option : DataUrl.values()) {<commit_msg>Add more unit test cases<commit_after>package org.pdxfinder.services.constants;

import org.junit.Test;
import org.pdxfinder.BaseTest;

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

public class DataUrlTest extends BaseTest {


    private final static String ASSERTION_ERROR = "Unknown Data Url Found: ";


    @Test
    public void given_DataUrlEnumListCount_EnsureListIntegrity() {

        final int DATA_URL_COUNT = 3;

        assertEquals(DATA_URL_COUNT, DataUrl.values().length);
    }


    @Test
    public void given_DataUrl_When_EnumListIsChanged_Then_Error() {

        boolean expected = true;
        String message = "";

        for (DataUrl option : DataUrl.values()) {
{'fraction_non_alphanumeric': 0.08143547273982056, 'fraction_numerical': 0.0013802622498274672, 'mean_word_length': 3.662379421221865, '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': '3875408', 'n_tokens_mistral': 425, 'n_tokens_neox': 408, 'n_words': 102}