Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestNonStandardExponentialValues (0.32 sec)

  1. src/math/rand/rand_test.go

    }
    
    // Actual tests
    
    func TestStandardExponentialValues(t *testing.T) {
    	for _, seed := range testSeeds {
    		testExponentialDistribution(t, numTestSamples, 1, seed)
    	}
    }
    
    func TestNonStandardExponentialValues(t *testing.T) {
    	for rate := 0.05; rate < 10; rate *= 2 {
    		for _, seed := range testSeeds {
    			testExponentialDistribution(t, numTestSamples, rate, seed)
    			if testing.Short() {
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand_test.go

    }
    
    // Actual tests
    
    func TestStandardExponentialValues(t *testing.T) {
    	for _, seed := range testSeeds {
    		testExponentialDistribution(t, numTestSamples, 1, seed)
    	}
    }
    
    func TestNonStandardExponentialValues(t *testing.T) {
    	for rate := 0.05; rate < 10; rate *= 2 {
    		for _, seed := range testSeeds {
    			testExponentialDistribution(t, numTestSamples, rate, seed)
    			if testing.Short() {
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top