<commit_before>package objektwerks;

import java.util.Arrays;

import org.junit.jupiter.api.Test;

class ForTest {
    @Test void arrayTest() {
        int[] xs = {1, 2, 3};
        assert(xs.length == 3);

        int[] ys = new int[3];
        ys[0] = 1; 
        ys[1] = 2;
        ys[2] = 3;
        assert(ys.length == 3);

        assert(xs != ys); // reference equality
        assert(Arrays.equals(xs, ys)); // structural equality
    }

    @Test void forEachTest() {
        int[] xs = {1, 2, 3};
        int sum = 0;
        for (int x : xs) {  
            sum += x;
        }
        assert(sum == 6);
    }
}<commit_msg>added classic for test<commit_after>package objektwerks;

import java.util.Arrays;

import org.junit.jupiter.api.Test;

class ForTest {
    @Test void arrayTest() {
        int[] xs = {1, 2, 3};
        assert(xs.length == 3);

        int[] ys = new int[3];
        ys[0] = 1; 
        ys[1] = 2;
        ys[2] = 3;
        assert(ys.length == 3);

        assert(xs != ys); // reference equality
        assert(Arrays.equals(xs, ys)); // structural equality
    }

    @Test void forTest() {
        int[] xs = {1, 2, 3};
        int sum = 0;
        for(int i = 0; i < xs.length; i++) {
          sum += xs[i];
        }
        assert(sum == 6);
    }

    @Test void forEachTest() {
        int[] xs = {1, 2, 3};
        int sum = 0;
        for (int x : xs) {  
            sum += x;
        }
        assert(sum == 6);
    }
}
{'fraction_non_alphanumeric': 0.16223585548738922, 'fraction_numerical': 0.027266530334014997, 'mean_word_length': 1.5441941074523398, 'pattern_counts': {'":': 0, '<': 4, '<?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': '3090863', 'n_tokens_mistral': 560, 'n_tokens_neox': 513, 'n_words': 138}