<commit_before>package com.tealcube.minecraft.bukkit.mythicdrops

import org.junit.Assert
import org.junit.Test

class ListExtensionsKtTest {
    @Test
    fun `does replaceArgs not replace if no args found`() {
        val expected = listOf("dank memes", "danker memes", "dankest memes")
        val actual = expected.replaceArgs("lame memes" to "danker memes")
        Assert.assertEquals(expected, actual)
    }

    @Test
    fun `does replaceArgs replace any found args`() {
        val template = listOf("lame memes", "kinda dank memes", "sorta dank memes")
        val expected = listOf("barely dank memes", "kinda dank memes", "sorta dank memes")
        val actual = template.replaceArgs("lame memes" to "barely dank memes")
        Assert.assertEquals(expected, actual)
    }
}<commit_msg>expanding test cases for List<String>.replaceArgs<commit_after>package com.tealcube.minecraft.bukkit.mythicdrops

import org.junit.Assert
import org.junit.Test

class ListExtensionsKtTest {
    @Test
    fun `does replaceArgs not replace if no args found`() {
        val expected = listOf("dank memes", "danker memes", "dankest memes")
        val actual = expected.replaceArgs("lame memes" to "danker memes")
        Assert.assertEquals(expected, actual)
    }

    @Test
    fun `does replaceArgs replace any found args that match full strings`() {
        val template = listOf("lame memes", "kinda dank memes", "sorta dank memes")
        val expected = listOf("barely dank memes", "kinda dank memes", "sorta dank memes")
        val actual = template.replaceArgs("lame memes" to "barely dank memes")
        Assert.assertEquals(expected, actual)
    }

    @Test
    fun `does replaceArgs replace any found args that match partial strings`() {
        val template = listOf("lame memes", "kinda dank memes", "sorta dank memes")
        val expected = listOf("lame meemees", "kinda dank meemees", "sorta dank meemees")
        val actual = template.replaceArgs("memes" to "meemees")
        Assert.assertEquals(expected, actual)
    }
}
{'fraction_non_alphanumeric': 0.10392156862745099, 'fraction_numerical': 0.0, 'mean_word_length': 3.446623093681917, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3637138', 'n_tokens_mistral': 635, 'n_tokens_neox': 628, 'n_words': 195}