Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestStandardExponentialValues (0.47 sec)

  1. src/math/rand/rand_test.go

    	// Make sure that each 7th of the set matches the expected distribution.
    	checkSampleSliceDistributions(t, samples, 7, expected)
    }
    
    // Actual tests
    
    func TestStandardExponentialValues(t *testing.T) {
    	for _, seed := range testSeeds {
    		testExponentialDistribution(t, numTestSamples, 1, seed)
    	}
    }
    
    func TestNonStandardExponentialValues(t *testing.T) {
    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

    	// Make sure that each 7th of the set matches the expected distribution.
    	checkSampleSliceDistributions(t, samples, 7, expected)
    }
    
    // Actual tests
    
    func TestStandardExponentialValues(t *testing.T) {
    	for _, seed := range testSeeds {
    		testExponentialDistribution(t, numTestSamples, 1, seed)
    	}
    }
    
    func TestNonStandardExponentialValues(t *testing.T) {
    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