small reformatting
This commit is contained in:
parent
3daf585931
commit
3aec173243
@ -18,13 +18,13 @@ package com.google.gson.internal;
|
|||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
public class LazilyParsedNumberTest extends TestCase {
|
public class LazilyParsedNumberTest extends TestCase {
|
||||||
public void testHashCode(){
|
public void testHashCode() {
|
||||||
LazilyParsedNumber n1 = new LazilyParsedNumber("1");
|
LazilyParsedNumber n1 = new LazilyParsedNumber("1");
|
||||||
LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
|
LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
|
||||||
assertEquals(n1.hashCode(), n1Another.hashCode());
|
assertEquals(n1.hashCode(), n1Another.hashCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testEquals(){
|
public void testEquals() {
|
||||||
LazilyParsedNumber n1 = new LazilyParsedNumber("1");
|
LazilyParsedNumber n1 = new LazilyParsedNumber("1");
|
||||||
LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
|
LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
|
||||||
assertTrue(n1.equals(n1Another));
|
assertTrue(n1.equals(n1Another));
|
||||||
|
Loading…
Reference in New Issue
Block a user