Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 52 of 52 for testtoken (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

    /**
     * Unit test for {@link Range}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class RangeTest extends TestCase {
      public void testOpen() {
        Range<Integer> range = Range.open(4, 8);
        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(4, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testToSortedList_withDuplicates() {
        assertEquals(
            Lists.newArrayList(4, 3, 1, 1),
            fluent(1, 4, 1, 3).toSortedList(Ordering.<Integer>natural().reverse()));
      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top