<commit_before>package com.levelup.java.hamcrest;

import org.junit.Test;

import com.google.common.collect.Lists;

import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.endsWith;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.text.IsEmptyString.*;
import static org.hamcrest.text.IsEqualIgnoringCase.*;
import static org.hamcrest.text.IsEqualIgnoringWhiteSpace.*;
import static org.hamcrest.text.StringContainsInOrder.*;
import static org.junit.Assert.assertThat;

/**
 * This java example will demonstrate testing
 * strings with junit hamcrest matchers.
 * 
 * @author <NAME>
 * @see <a href='http://www.leveluplunch.com/java/examples/junit-text-testing-hamcrest/'>Unit test text</a><commit_msg>updated java doc<commit_after>package com.levelup.java.hamcrest;

import org.junit.Test;

import com.google.common.collect.Lists;

import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.endsWith;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.text.IsEmptyString.*;
import static org.hamcrest.text.IsEqualIgnoringCase.*;
import static org.hamcrest.text.IsEqualIgnoringWhiteSpace.*;
import static org.hamcrest.text.StringContainsInOrder.*;
import static org.junit.Assert.assertThat;

/**
 * This java example will demonstrate testing
 * strings with junit and hamcrest matchers.
 * 
 * @author <NAME>
 * @see <a href='http://www.leveluplunch.com/java/examples/junit-text-testing-hamcrest/'>Unit test text</a>
{'fraction_non_alphanumeric': 0.113915857605178, 'fraction_numerical': 0.0, 'mean_word_length': 5.663793103448276, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5709776', 'n_tokens_mistral': 491, 'n_tokens_neox': 484, 'n_words': 98}