<commit_before>package jp.toastkid.yobidashi.search

import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner

/**
 * @author toastkidjp
 */
@RunWith(RobolectricTestRunner::class)
class SiteSearchUrlGeneratorTest {

    /**
     * Testing object.
     */
    private val siteSearchUrlGenerator = SiteSearchUrlGenerator()

    /**
     * Check behavior.
     */
    @Test
    fun test() {
        assertEquals(
                "https://www.google.com/search?as_dt=i&as_sitesearch=www.yahoo.com&as_q=Orange",
                siteSearchUrlGenerator("https://www.yahoo.com", "Orange")
        )
    }
}<commit_msg>refactor #442 Modify test.<commit_after>package jp.toastkid.yobidashi.search

import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner

/**
 * @author toastkidjp
 */
@RunWith(RobolectricTestRunner::class)
class SiteSearchUrlGeneratorTest {

    /**
     * Testing object.
     */
    private val siteSearchUrlGenerator = SiteSearchUrlGenerator()

    /**
     * Check behavior.
     */
    @Test
    fun test() {
        repeat(10) {
            Assert.assertEquals(
                    "https://www.google.com/search?as_dt=i&as_sitesearch=www.yahoo.com&as_q=Orange",
                    siteSearchUrlGenerator("https://www.yahoo.com", "Orange")
            )
        }
    }
}
{'fraction_non_alphanumeric': 0.12011173184357542, 'fraction_numerical': 0.0034916201117318434, 'mean_word_length': 2.693298969072165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, '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': '6543631', 'n_tokens_mistral': 470, 'n_tokens_neox': 437, 'n_words': 64}