- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestIndex (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToMap_nullValue() { assertThrows(NullPointerException.class, () -> fluent(1, 2, 3).toMap(Functions.constant(null))); } public void testIndex() { ImmutableListMultimap<Integer, String> expected = ImmutableListMultimap.<Integer, String>builder() .putAll(3, "one", "two") .put(5, "three") .put(4, "four")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
multimap.putAll(Color.RED, asList(2, 7, 1, 8)); SerializableTester.reserializeAndAssert(multimap); assertEquals(INT_COMPARATOR, multimap.valueComparator()); } public void testIndex() { final Multimap<String, Object> stringToObject = new ImmutableMultimap.Builder<String, Object>() .put("1", 1) .put("1", 1L) .put("1", "1") .put("2", 2)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
for _, test := range testCases { a := []byte(test.a) actual := f(a, test.b) if actual != test.i { t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, test.b, actual, test.i) } } } func TestIndex(t *testing.T) { runIndexTests(t, Index, "Index", indexTests) } func TestLastIndex(t *testing.T) { runIndexTests(t, LastIndex, "LastIndex", lastIndexTests) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0)