Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkSampleSliceDistributions (0.23 sec)

  1. src/math/rand/rand_test.go

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

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