<commit_before>package com.nikitakozlov.pury.internal.profile;

import com.nikitakozlov.pury.internal.profile.StopWatch;

import org.junit.Test;

import static java.lang.Thread.sleep;
import static org.junit.Assert.*;

public class StopWatchTest {

    private static long ONE_HUNDERD_MILLIS = 100L;

    @Test
    public void getExecTimeInMillis_ReturnsTimeBiggerThenTimeBetweenStartAndStop() throws InterruptedException {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start();
        sleep(ONE_HUNDERD_MILLIS);
        stopWatch.stop();
        assertTrue(ONE_HUNDERD_MILLIS <= stopWatch.getExecTimeInMillis());
    }

    @Test
    public void getStartTimeInMillis_ReturnsTimeBiggerThenCurrentTimeBeforeStart() throws InterruptedException {
        StopWatch stopWatch = new StopWatch();
        long currentTime = System.currentTimeMillis();
        stopWatch.start();
        assertTrue(currentTime >= stopWatch.getStartTimeInMillis());
    }
}<commit_msg>Fixed one test for StopWatch<commit_after>package com.nikitakozlov.pury.internal.profile;

import com.nikitakozlov.pury.internal.profile.StopWatch;

import org.junit.Test;

import static java.lang.Thread.sleep;
import static org.junit.Assert.*;

public class StopWatchTest {

    private static long ONE_HUNDERD_MILLIS = 100L;

    @Test
    public void getExecTimeInMillis_ReturnsTimeBiggerThenTimeBetweenStartAndStop() throws InterruptedException {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start();
        sleep(ONE_HUNDERD_MILLIS);
        stopWatch.stop();
        assertTrue(ONE_HUNDERD_MILLIS <= stopWatch.getExecTimeInMillis());
    }

    @Test
    public void getStartTimeInMillis_ReturnsTimeBiggerThenCurrentTimeBeforeStart() throws InterruptedException {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start();
        long currentTime = System.currentTimeMillis();
        assertTrue(currentTime >= stopWatch.getStartTimeInMillis());
    }
}
{'fraction_non_alphanumeric': 0.08497723823975721, 'fraction_numerical': 0.0030349013657056147, 'mean_word_length': 4.084832904884319, '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': '536046', 'n_tokens_mistral': 578, 'n_tokens_neox': 576, 'n_words': 106}