Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testGraph (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    public class GraphTest {
    
        @Test
        public void testGraph() throws CycleDetectedException {
            Graph graph = new Graph();
            graph.addVertex("a");
            assertEquals(1, graph.getVertices().size());
            assertEquals("a", graph.getVertex("a").getLabel());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isEqualTo(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isEqualTo(Integer.class);
        assertThat(Primitives.wrap(String.class)).isEqualTo(String.class);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

          return input.length();
        }
      }
    
      private static final Equivalence<String> LENGTH_EQUIVALENCE =
          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top