Skip to content

Commit 009393d

Browse files
timvermeulenKyle Macomber
authored and
Kyle Macomber
committed
Make RandomSampleTests variables private
1 parent bb3bafe commit 009393d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/SwiftAlgorithmsTests/RandomSampleTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ func validateRandomSamples<S: Sequence>(
2626
}
2727
}
2828

29-
let n = 100
30-
let k = 12
31-
let iterations = 10_000
32-
let c = 0..<n
33-
let s = sequence(first: 0, next: { $0 == n - 1 ? nil : $0 + 1 })
29+
private let n = 100
30+
private let k = 12
31+
private let iterations = 10_000
32+
private let c = 0..<n
33+
private let s = sequence(first: 0, next: { $0 == n - 1 ? nil : $0 + 1 })
3434

3535
final class RandomSampleTests: XCTestCase {
3636
func testRandomStableSampleCollection() {

0 commit comments

Comments
 (0)