<commit_before>package json

import edu.csh.chase.sprint.json.jsonSerialize
import org.junit.Test
import kotlin.test.assertEquals

class JsonHelperFunctionTest {

    Test fun booleanJsonSerialize() {
        assertEquals("true", true.jsonSerialize())
        assertEquals("false", false.jsonSerialize())
        assertEquals("null", (null as Boolean?).jsonSerialize())
    }

}<commit_msg>Added tests for the jsonSerialize function for Double?<commit_after>package json

import edu.csh.chase.sprint.json.jsonSerialize
import org.junit.Test
import kotlin.test.assertEquals

class JsonHelperFunctionTest {

    Test fun booleanJsonSerialize() {
        assertEquals("true", true.jsonSerialize())
        assertEquals("false", false.jsonSerialize())
        assertEquals("null", (null as Boolean?).jsonSerialize())
    }

    Test fun doubleJsonSerialize() {
        assertEquals("15.0", 15.0.jsonSerialize())
        assertEquals("23.5635", 23.5635.jsonSerialize())
        assertEquals("14E4", 14E4.toString())
        assertEquals("null", (null as Double?).jsonSerialize())
    }

}
{'fraction_non_alphanumeric': 0.123730378578024, 'fraction_numerical': 0.0221606648199446, 'mean_word_length': 4.018518518518518, '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': '3305657', 'n_tokens_mistral': 309, 'n_tokens_neox': 303, 'n_words': 62}