<commit_before>package com.muhron.kotlinq.default_methods

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

class AverageTest {

    @Test
    fun test0() {
        val result = listOf(1, 2, 3).average()
        Assert.assertTrue(result == 2.0)
    }

    @Test
    fun test1() {
        val result = emptyList<Int>().average()
        Assert.assertTrue(result == 0.0)
    }
}<commit_msg>fix test<commit_after>package com.muhron.kotlinq.default_methods

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

class AverageTest {

    @Test
    fun test0() {
        val result = listOf(1, 2, 3).average()
        Assert.assertTrue(result == 2.0)
    }

    @Test
    fun test1() {
        val result = emptyList<Int>().average()
        Assert.assertTrue(result.isNaN())
    }
}
{'fraction_non_alphanumeric': 0.13020833333333334, 'fraction_numerical': 0.020833333333333332, 'mean_word_length': 2.560185185185185, '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': '3872291', 'n_tokens_mistral': 270, 'n_tokens_neox': 255, 'n_words': 52}