- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for testToInt (0.09 seconds)
-
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt
) : Runner() { private val delegate = JUnit4(klass) override fun getDescription() = delegate.description override fun run(notifier: RunNotifier?) = delegate.run(notifier) override fun testCount() = delegate.testCount() } actual fun beforePublicSuffixTest() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri May 23 16:58:05 GMT 2025 - 1.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
/** * Unit tests for {@link CountingOutputStream}. * * @author Chris Nokleberg */ @NullUnmarked public class CountingOutputStreamTest extends IoTestCase { public void testCount() throws Exception { int written = 0; ByteArrayOutputStream out = new ByteArrayOutputStream(); CountingOutputStream counter = new CountingOutputStream(out); assertEquals(written, out.size());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
/** * Unit tests for {@link CountingOutputStream}. * * @author Chris Nokleberg */ @NullUnmarked public class CountingOutputStreamTest extends IoTestCase { public void testCount() throws Exception { int written = 0; ByteArrayOutputStream out = new ByteArrayOutputStream(); CountingOutputStream counter = new CountingOutputStream(out); assertEquals(written, out.size());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
tests/count_test.go
t.Errorf("Count should work, but got err %v", err) } if count2 != 2 { t.Errorf("Count with group should be 2, but got count: %v", count2) } } func TestCount(t *testing.T) { var ( user1 = *GetUser("count-1", Config{}) user2 = *GetUser("count-2", Config{}) user3 = *GetUser("count-3", Config{}) users []User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
* PairedStatsAccumulator#snapshot}. * * @author Pete Gillin */ @NullUnmarked @J2ktIncompatible @GwtIncompatible public class PairedStatsTest extends TestCase { public void testCount() { assertThat(EMPTY_PAIRED_STATS.count()).isEqualTo(0); assertThat(ONE_VALUE_PAIRED_STATS.count()).isEqualTo(1); assertThat(TWO_VALUES_PAIRED_STATS.count()).isEqualTo(2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 14.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
* PairedStatsAccumulator#snapshot}. * * @author Pete Gillin */ @NullUnmarked @J2ktIncompatible @GwtIncompatible public class PairedStatsTest extends TestCase { public void testCount() { assertThat(EMPTY_PAIRED_STATS.count()).isEqualTo(0); assertThat(ONE_VALUE_PAIRED_STATS.count()).isEqualTo(1); assertThat(TWO_VALUES_PAIRED_STATS.count()).isEqualTo(2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 14.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
Collections.nCopies(MANY_VALUES_COUNT, ONE_VALUE), Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2); } public void testCount() { assertThat(emptyAccumulator.count()).isEqualTo(0); assertThat(emptyAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(0); assertThat(oneValueAccumulator.count()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 23.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTest.java
* StatsAccumulator#snapshot}. * * @author Pete Gillin */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class StatsTest extends TestCase { public void testCount() { assertThat(EMPTY_STATS_VARARGS.count()).isEqualTo(0); assertThat(EMPTY_STATS_ITERABLE.count()).isEqualTo(0); assertThat(ONE_VALUE_STATS.count()).isEqualTo(1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0)