Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestFloat64 (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    				Maximum:          &testFloat64,
    				ExclusiveMaximum: true,
    			},
    			expected: new(spec.Schema).
    				WithMaximum(testFloat64, true),
    		},
    		{
    			name: "minimum and exclusiveMinimum",
    			in: &apiextensions.JSONSchemaProps{
    				Minimum:          &testFloat64,
    				ExclusiveMinimum: true,
    			},
    			expected: new(spec.Schema).
    				WithMinimum(testFloat64, true),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    			x.Add(x, NewInt(n))
    		})
    		if got != 0 {
    			t.Errorf("x.Add(x, NewInt(%d)), wanted 0 allocations, got %f", n, got)
    		}
    	}
    }
    
    func TestFloat64(t *testing.T) {
    	for _, test := range []struct {
    		istr string
    		f    float64
    		acc  Accuracy
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top