chore: 增加一个测试用例

This commit is contained in:
Junling Bu
2019-07-25 23:42:38 +08:00
parent 76438497cd
commit af880c9874

View File

@@ -0,0 +1,16 @@
package org.linlinjava.litemall.core;
import org.junit.Test;
public class IntegerTest {
@Test
public void test() {
Integer a = new Integer(512);
int b = 512;
Integer c = new Integer(512);
System.out.println(a==b);
System.out.println(a.equals(b));
System.out.println(a == c);
System.out.println(a.equals(c));
}
}