Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
af880c98
Commit
af880c98
authored
Jul 25, 2019
by
Junling Bu
Browse files
chore: 增加一个测试用例
parent
76438497
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-core/src/test/java/org/linlinjava/litemall/core/IntegerTest.java
0 → 100644
View file @
af880c98
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
));
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment