- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testToLong (0.04 seconds)
-
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
import junit.framework.TestCase; /** * @author higa * */ public class LongConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToLong() throws Exception { assertEquals(Long.valueOf("1000"), LongConversionUtil.toLong("1,000")); } /** * @throws Exception */ public void testToPrimitiveLong() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
assertThat(UnsignedInts.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST); assertThat(UnsignedInts.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } public void testToLong() { for (long a : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong((int) a)).isEqualTo(a); } } public void testCompare() { for (long a : UNSIGNED_INTS) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0)