Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for testCycle (0.04 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    @Deprecated
    public class GraphTest {
    
        @Test
        void testCycle() throws Graph.CycleDetectedException {
            Graph graph = new Graph();
            graph.addEdge("a1", "a2");
            assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1"));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals("[]", FluentIterable.<String>of().toString());
    
        assertEquals(
            "[yam, bam, jam, ham]", FluentIterable.from(asList("yam", "bam", "jam", "ham")).toString());
      }
    
      public void testCycle() {
        FluentIterable<String> cycle = FluentIterable.from(asList("a", "b")).cycle();
    
        int howManyChecked = 0;
        for (String string : cycle) {
          String expected = (howManyChecked % 2 == 0) ? "a" : "b";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
          String expected = (howManyChecked % 2 == 0) ? "a" : "b";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  4. cmd/testdata/decryptObjectInfo.json.zst

    ey":"IAAfAN9/Bwff9P+hwEIBSKyxTyojzH+eZVkv+qEuh6VijkhgiijGZRN7W==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"application/octet-stream"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/src/testcycle/p1/p1_test.go","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"AQ7HMVxUDQJoHwntfYJG=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAKGg8fnJsqango...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 29 16:34:20 GMT 2020
    - 164K bytes
    - Click Count (0)
Back to Top