Skip to content

Commit 0db9d98

Browse files
authored
Merge pull request #757 from Kotlin/revert-756-value-counts-test
Revert "Add a test for valueCounts"
2 parents a113415 + f03268e commit 0db9d98

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
package org.jetbrains.kotlinx.dataframe.testSets.person
22

33
import io.kotest.matchers.shouldBe
4-
import org.jetbrains.kotlinx.dataframe.api.columnOf
5-
import org.jetbrains.kotlinx.dataframe.api.count
64
import org.jetbrains.kotlinx.dataframe.api.sort
75
import org.jetbrains.kotlinx.dataframe.api.sortBy
86
import org.jetbrains.kotlinx.dataframe.api.sortByDesc
97
import org.jetbrains.kotlinx.dataframe.api.sortDesc
10-
import org.jetbrains.kotlinx.dataframe.api.valueCounts
118
import org.junit.Test
129

1310
class DataColumnTests : BaseTest() {
@@ -17,12 +14,4 @@ class DataColumnTests : BaseTest() {
1714
typed.age.sort() shouldBe typed.sortBy { age }.age
1815
typed.age.sortDesc() shouldBe typed.sortByDesc { age }.age
1916
}
20-
21-
@Test
22-
fun `value counts`() {
23-
val languages by columnOf("Kotlin", "Kotlin", null, null, "C++")
24-
val languageCounts = languages.valueCounts()
25-
languageCounts[languages].values() shouldBe listOf("Kotlin", "C++")
26-
languageCounts.count shouldBe listOf(2, 1)
27-
}
2817
}

0 commit comments

Comments
 (0)