Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for test_sum (0.16 sec)

  1. src/crypto/tls/handshake_client_test.go

    					panic("AcceptableCAs should have been empty")
    				}
    				return new(Certificate), nil
    			}
    		},
    		"",
    		func(t *testing.T, testNum int, cs *ConnectionState) {
    			if l := len(cs.PeerCertificates); l != 0 {
    				t.Errorf("#%d: expected no certificates but got %d", testNum, l)
    			}
    		},
    	},
    	{
    		func(clientConfig, serverConfig *Config) {
    			// With TLS 1.1, the SignatureSchemes should be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy

            then:
            resolve.expectGraph {
                root(":", ":depsub:") {
                    project(':sub', 'org.test:sub:0.0.1') {
                        configuration = 'default'
                        selectedByRule()
                    }
                    edge('foo:bar:1', 'org.test:sub:0.0.1')
                }
            }
        }
    
        def "should fail not crash if empty selector skipped"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 52.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	q.MarshalJSON()
    }
    
    func TestDeepCopy(t *testing.T) {
    	q := NewQuantity(5, DecimalSI)
    	c := q.DeepCopy()
    	c.Set(6)
    	if q.Value() == 6 {
    		t.Errorf("Copy didn't")
    	}
    }
    
    func TestSub(t *testing.T) {
    	tests := []struct {
    		a        Quantity
    		b        Quantity
    		expected Quantity
    	}{
    		{decQuantity(10, 0, DecimalSI), decQuantity(1, 1, DecimalSI), decQuantity(0, 0, DecimalSI)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/time/time_test.go

    	{Date(2311, 11, 26, 02, 16, 47, 63535996, UTC), Date(2019, 8, 16, 2, 29, 30, 268436582, UTC), 9223372036795099414},
    	{MinMonoTime, MaxMonoTime, minDuration},
    	{MaxMonoTime, MinMonoTime, maxDuration},
    }
    
    func TestSub(t *testing.T) {
    	for i, st := range subTests {
    		got := st.t.Sub(st.u)
    		if got != st.d {
    			t.Errorf("#%d: Sub(%v, %v): got %v; want %v", i, st.t, st.u, got, st.d)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    		return true
    	}
    
    	if name == ctxt.GOOS || name == ctxt.GOARCH || name == "gc" {
    		return true
    	}
    
    	if ctxt.noOptEnv && name == "gcflags_noopt" {
    		return true
    	}
    
    	if name == "test_run" {
    		return true
    	}
    
    	return false
    }
    
    // goGcflags returns the -gcflags argument to use with go build / go run.
    // This must match the flags used for building the standard library,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top