You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scala-core-collections-2/src/test/scala-2/com/baeldung/scala/randomfixedsizesample/RandomFixedSizeSampleSpec.scala
+3-2
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ class RandomFixedSizeSampleSpec extends AnyWordSpec with Matchers {
28
28
isSorted(list_1) shouldBe false
29
29
isSorted(list_2) shouldBe false
30
30
}
31
-
"ensure getRandomSampleShuffle is the most performant, then goes getRandomSampleZip and then getRandomSampleRec" in {
31
+
// We can't really depend on this test to check performance. So commenting this out
32
+
/*"ensure getRandomSampleShuffle is the most performant, then goes getRandomSampleZip and then getRandomSampleRec" in {
32
33
val list = List.range(0, 10_000)
33
34
val sampleSize = 100
34
35
@@ -49,7 +50,7 @@ class RandomFixedSizeSampleSpec extends AnyWordSpec with Matchers {
0 commit comments