Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 880 for assertEquals (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
        assertEquals(a, navigableSet.floor(b));
        assertEquals(c, navigableSet.floor(c));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

                case "fess":
                    matchCount++;
                    assertEquals("fess", reading);
                    break;
                case "検索":
                    matchCount++;
                    assertEquals("ケンサク", reading);
                    break;
                case "無料":
                    matchCount++;
                    assertEquals("ムリョウ", reading);
                    break;
                default:
                    break;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
            assertEquals("tp://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            urlConvertHelper.add("^tp:", "http:");
    
            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(7345148637025587076L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertEquals(3, list.size());
            FacetQueryView view1 = list.get(0);
            assertEquals("labels.facet_timestamp_title", view1.getTitle());
            assertEquals(4, view1.getQueryMap().size());
            FacetQueryView view2 = list.get(1);
            assertEquals("labels.facet_contentLength_title", view2.getTitle());
            assertEquals(5, view2.getQueryMap().size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(1, frequency(set, "a"));
        assertEquals(1, frequency(set, "b"));
        assertEquals(1, frequency(set, "c"));
        assertEquals(0, frequency(set, "d"));
        assertEquals(0, frequency(set, 4.2));
        assertEquals(0, frequency(set, null));
      }
    
      public void testFrequency_list() {
        List<String> list = newArrayList("a", "b", "a", "c", "b", "a");
        assertEquals(3, frequency(list, "a"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.add(3);
        mmHeap.add(2);
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.poll());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.poll());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.peek());
        assertEquals(3, (int) mmHeap.poll());
        assertNull(mmHeap.peekLast());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.peek());
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.peek());
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTest.java

      public void testSize() throws IOException {
        assertEquals(bytes.length, source.size());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        // test that we can get the size even if skip() isn't supported
        assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size());
    
        // test that we can get the size even if available() always returns zero
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top