<commit_before>package java8;

import java7.UnitTestRunner;
import org.junit.Test;
import static org.junit.Assert.*;

public class InterfaceMethodTest {
    
    public interface IF1 {
        public static int x() {
            return 1;
        }
    }
    
    public static void main(String[] args) {
        UnitTestRunner.run(InterfaceMethodTest.class);
    }
    
    @Test
    public void interfaceStaticMethod() {
        assertEquals(1, IF1.x());
    }
    
}<commit_msg>test interface method<commit_after>package java8;

import java7.UnitTestRunner;
import org.junit.Test;
import static org.junit.Assert.*;

public class InterfaceMethodTest {
    
    public interface IF1 {
        static int x() {
            return 1;
        }
        default int y() {
            return 2;
        }
    }
    
    public class IMPL1 implements IF1 {
        
    }
    
    public static void main(String[] args) {
        UnitTestRunner.run(InterfaceMethodTest.class);
    }
    
    @Test
    public void staticMethod() {
        assertEquals(1, IF1.x());
    }
    
    @Test
    public void defaultMethod() {
        assertEquals(2, new IMPL1().y());
    }
    
}
{'fraction_non_alphanumeric': 0.09666381522668947, 'fraction_numerical': 0.01454234388366125, 'mean_word_length': 1.9923273657289002, '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': '5759208', 'n_tokens_mistral': 347, 'n_tokens_neox': 340, 'n_words': 84}