Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDeepEqualComplexStruct (0.41 sec)

  1. src/reflect/all_test.go

    		t.Error("DeepEqual(recursive same) = false, want true")
    	}
    }
    
    type _Complex struct {
    	a int
    	b [3]*_Complex
    	c *string
    	d map[float64]float64
    }
    
    func TestDeepEqualComplexStruct(t *testing.T) {
    	m := make(map[float64]float64)
    	stra, strb := "hello", "hello"
    	a, b := new(_Complex), new(_Complex)
    	*a = _Complex{5, [3]*_Complex{a, b, a}, &stra, m}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top