Complete genre browsing for v0.2.34

This commit is contained in:
ponzischeme89
2026-08-09 08:56:42 +12:00
parent fdd9e6cab2
commit 0c623bbcc0
9 changed files with 635 additions and 9 deletions
@@ -0,0 +1,16 @@
package com.ponzischeme89.memby.ui.genre
import org.junit.Assert.assertEquals
import org.junit.Test
class GenreBrowseTest {
@Test
fun `genre picker trims deduplicates and sorts names`() {
assertEquals(
listOf("Action", "comedy", "Science Fiction"),
normaliseGenres(
listOf(" Science Fiction ", "comedy", "", "Action", "Comedy", " "),
),
)
}
}