package com.ikaimen.kit;

import java.util.ArrayList;

public class TestDebug {

    public static void main(String[] args) {


        ArrayList<Bear> bears = new ArrayList<>();
        ArrayList<Bear> bears1 = new ArrayList<>();

        Bear tom = new Bear("11", 2);
        Bear jack = new Bear("jack", 1);

        bears.add(tom);
        bears.add(jack);

        bears1.add(tom);
        bears1.add(jack);

        bears1.addAll(bears);
        bears.clear();
        char c = tom.getName().charAt(0);
        System.out.println(Integer.valueOf(c));
        System.out.println(bears.size());

    }

}

@@ -30,27 +30,364 @@
 ort 
-java.util.ArrayList
+org.junit.After;%0Aimport org.junit.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.jupiter.api.AfterEach;%0Aimport org.junit.jupiter.api.BeforeEach;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport java.util.stream.Collectors;%0Aimport java.util.stream.Stream
 ;%0A%0Ap
@@ -684,32 +684,213 @@
 ars.add(jack);%0A%0A
+        Map%3CInteger, Integer%3E collect = bears.stream().map(bear -%3E bear.getName()).collect(Collectors.toList()).stream().collect(Collectors.toMap(String::length, String::length));%0A%0A
         bears1.a
@@ -1118,10 +1118,317 @@
 %0A    %7D%0A%0A
+//    @BeforeEach%0A//    public void test1()%7B%0A//        System.out.println(111);%0A//    %7D%0A//%0A//    @AfterEach%0A//    public void runAfterTestMethod() %7B%0A//        System.out.println(%22@After - runAfterTestMethod%22);%0A//    %7D%0A//%0A//    @Test%0A//    public void test()%7B%0A//       // Assert.assertEquals(1,2);7%0A//    %7D%0A%0A
 %7D%0A

test debug