<commit_before>package org.lantern;

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

import java.net.InetSocketAddress;
import java.util.HashSet;
import java.util.Set;

import org.junit.Test;

/**
 * Test for Lantern utilities.
 */
public class LanternUtilsTest {
    
    @Test public void inetSocketTest() throws Exception {
        final Set<InetSocketAddress> set = new HashSet<InetSocketAddress>();
        final InetSocketAddress isa1 = 
            new InetSocketAddress("racheljohnsonftw.appspot.com", 443);
        set.add(isa1);
        
        final InetSocketAddress isa2 = 
            new InetSocketAddress("racheljohnsonla.appspot.com", 443);
        
        set.add(isa2);
        assertEquals(2, set.size());
    }

    @Test public void testCensored() throws Exception {<commit_msg>Removed irrelevant test<commit_after>package org.lantern;

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

import org.junit.Test;

/**
 * Test for Lantern utilities.
 */
public class LanternUtilsTest {

    @Test public void testCensored() throws Exception {
{'fraction_non_alphanumeric': 0.0970464135021097, 'fraction_numerical': 0.009282700421940928, 'mean_word_length': 3.492424242424242, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7241827', 'n_tokens_mistral': 359, 'n_tokens_neox': 346, 'n_words': 84}