- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for TestRemove (0.15 sec)
-
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
assertThat(map.put("One", "11"), is("1")); assertThat(map.get("one"), is("11")); } /** * @throws Exception */ @Test public void testRemove() throws Exception { assertThat(map.remove("ONE"), is("1")); assertThat(map.size(), is(1)); assertThat(map.remove("dummy"), is(nullValue())); } /** * @throws Exception
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy
assertTestPassed("list", "org.example.list.LinkedListTest", "testConstructor") assertTestPassed("list", "org.example.list.LinkedListTest", "testAdd") assertTestPassed("list", "org.example.list.LinkedListTest", "testRemove") assertTestPassed("list", "org.example.list.LinkedListTest", "testRemoveMissing") when: succeeds "run" then: outputContains("Hello World!") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 03:26:38 UTC 2024 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.contains("2"), is(not(true))); assertThat(list.contains(null), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception { list.addLast(null); list.addLast("1"); list.addLast("2"); assertThat(list.remove("3"), is(not(true))); assertThat(list.remove("1"), is(true));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
src/container/list/list_test.go
checkList(t, l3, []any{1, 2, 3, 1, 2, 3}) l3 = New() l1.PushBackList(l3) checkList(t, l1, []any{1, 2, 3}) l1.PushFrontList(l3) checkList(t, l1, []any{1, 2, 3}) } func TestRemove(t *testing.T) { l := New() e1 := l.PushBack(1) e2 := l.PushBack(2) checkListPointers(t, l, []*Element{e1, e2}) e := l.Front() l.Remove(e) checkListPointers(t, l, []*Element{e2}) l.Remove(e)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.getAt(1), is("test3")); map.put(null, "test4"); map.put(null, "test5"); } /** * @throws Exception */ @Test public void testRemove() throws Exception { assertThat(map.remove("1"), is("test")); assertThat(map.size(), is(2)); assertThat(map.remove("dummy"), is(nullValue())); assertThat(map.remove(0), is(nullValue()));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
test/typeparam/list2.go
checkList(l3, []interface{}{1, 2, 3, 1, 2, 3}) l3 = _New[int]() l1.PushBackList(l3) checkList(l1, []interface{}{1, 2, 3}) l1.PushFrontList(l3) checkList(l1, []interface{}{1, 2, 3}) } func TestRemove() { l := _New[int]() e1 := l.PushBack(1) e2 := l.PushBack(2) checkListPointers(l, []*(_Element[int]){e1, e2}) e := l.Front() l.Remove(e) checkListPointers(l, []*(_Element[int]){e2}) l.Remove(e)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(0L, map.get(key)); assertTrue(map.containsKey(key)); assertTrue(map.replace(key, 0L, value)); assertEquals(value, map.get(key)); } public void testRemove() { AtomicLongMap<String> map = AtomicLongMap.create(); String key = "key"; assertEquals(0, map.size()); assertTrue(map.isEmpty()); assertEquals(0L, map.remove(key));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
mask, _ := NewBitMask() mask.Add(tc.bits...) if mask.String() != tc.expectedMask { t.Errorf("Expected mask to be %v, got %v", tc.expectedMask, mask) } } } func TestRemove(t *testing.T) { tcases := []struct { name string bitsSet []int bitsRemove []int expectedMask string }{ { name: "Set bit 0. Remove bit 0",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(0L, map.get(key)); assertTrue(map.containsKey(key)); assertTrue(map.replace(key, 0L, value)); assertEquals(value, map.get(key)); } public void testRemove() { AtomicLongMap<String> map = AtomicLongMap.create(); String key = "key"; assertEquals(0, map.size()); assertTrue(map.isEmpty()); assertEquals(0L, map.remove(key));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 35.3K bytes - Viewed (0)