Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRecursive (1.02 sec)

  1. src/testing/quick/quick_test.go

    	}
    	if _, ok := err.(SetupError); !ok {
    		t.Errorf("#3 Error was not a SetupError: %s", err)
    	}
    }
    
    // Recursive data structures didn't terminate.
    // Issues 8818 and 11148.
    func TestRecursive(t *testing.T) {
    	type R struct {
    		Ptr      *R
    		SliceP   []*R
    		Slice    []R
    		Map      map[int]R
    		MapP     map[int]*R
    		MapR     map[*R]*R
    		SliceMap []map[int]R
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
Back to top