|
|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
package org.leolo.nrdatad; |
|
|
|
|
package org.leolo.nrdatad.util; |
|
|
|
|
|
|
|
|
|
import org.junit.Test; |
|
|
|
|
import org.leolo.nrdatad.util.JSONUtil; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.*; |
|
|
|
|
|
|
|
|
|
public class UtilTest { |
|
|
|
|
public class JSONUtilTest { |
|
|
|
|
|
|
|
|
|
@Test public void testJSONUtilParseIntNormal(){ |
|
|
|
|
assertEquals(10, JSONUtil.parseInt("10")); |
|
|
|
|
|