<commit_before>package gharpure;

public class Main {

    public static void main(String[] args) {
	// write your code here
    }
}<commit_msg>Added code for testing<commit_after>package gharpure;

public class Main {

    private static void checkToNumber(int n) {
        if (StringsTest.toNumber(Integer.toString(n))!= n) {
            System.out.println("Failed for " + n);
        } else {
            System.out.println(n);
        }
    }
    public static void main(String[] args) {
	// write your code here
        StringsTest.letterFrequency("the quick brown fox jumps over the lazy dog");
        StringsTest.letterFrequency("SPHINX OF BLACK QUARTZ JUDGE MY VOWEL");
        StringsTest.words("Oh Say Can You See");
        StringsTest.consonantsDigitsAndVowels("I have 20 fingers and toes");
        StringsTest.reverse("Able was I ere I saw Elba");
        StringsTest.isNumber("1949");
        StringsTest.isNumber("74-7");
        checkToNumber(1234);
        checkToNumber(3141);
        try {
            StringsTest.toNumber("13 45");
            System.out.println("Exception not thrown");
        } catch (NumberFormatException nfe) {
            System.out.println("Exception thrown as expected");
        }
    }
}
{'fraction_non_alphanumeric': 0.10832659660468877, 'fraction_numerical': 0.016976556184316895, 'mean_word_length': 2.5472779369627507, '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': '4096967', 'n_tokens_mistral': 380, 'n_tokens_neox': 346, 'n_words': 95}