Skip to content

Commit e840c22

Browse files
Automated commit of generated code
1 parent 0db9d98 commit e840c22

File tree

1 file changed

+0
-11
lines changed
  • core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/testSets/person

1 file changed

+0
-11
lines changed
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)