<commit_before>package org.ruler;

import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;

public class LengthTest {

    @Test
    public void one_mile_equals_1760_yard() throws Exception {
        assertEquals(new Mile(1), new Yard(1760));
    }

    @Test
    public void one_mile_not_equal_1761_yard() throws Exception {
        assertNotEquals(new Mile(1), new Yard(1761));
    }

    @Test
    public void test_1760_yard_equals_1_mile() throws Exception {
        assertEquals(new Yard(1760), new Mile(1));
    }

    @Test
    public void test_1761_yard_not_equals_1_mile() throws Exception {
        assertNotEquals(new Yard(1761), new Mile(1));
    }

    @Test
    public void one_yard_equals_three_inch() throws Exception {
        assertEquals(new Yard(1), new Inch(3));
    }
}<commit_msg>refactor to the correct requirement, one yard = 3 feet, instead of 3 inch<commit_after>package org.ruler;

import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;

public class LengthTest {

    @Test
    public void one_mile_equals_1760_yard() throws Exception {
        assertEquals(new Mile(1), new Yard(1760));
    }

    @Test
    public void one_mile_not_equal_1761_yard() throws Exception {
        assertNotEquals(new Mile(1), new Yard(1761));
    }

    @Test
    public void test_1760_yard_equals_1_mile() throws Exception {
        assertEquals(new Yard(1760), new Mile(1));
    }

    @Test
    public void test_1761_yard_not_equals_1_mile() throws Exception {
        assertNotEquals(new Yard(1761), new Mile(1));
    }

    @Test
    public void one_yard_equals_three_feet() throws Exception {
        assertEquals(new Yard(1), new Feet(3));
    }
}
{'fraction_non_alphanumeric': 0.09451901565995526, 'fraction_numerical': 0.04586129753914989, 'mean_word_length': 3.5176767676767677, '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': '962288', 'n_tokens_mistral': 616, 'n_tokens_neox': 551, 'n_words': 138}