settings: move impls out

Move settings implementations out of the class so that they are easier
to manage.
This commit is contained in:
Alexander Capehart
2023-01-23 10:18:44 -07:00
parent 866d20f6eb
commit fb004a9e8b
8 changed files with 360 additions and 357 deletions
@@ -17,10 +17,18 @@
package org.oxycblt.auxio.music.tags
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
class DiscTest {
@Test
fun disc_compare() {
val a = Disc(1, "Part I")
val b = Disc(2, "Part II")
assertEquals(-1, a.compareTo(b))
}
@Test
fun disc_equals_correct() {
val a = Disc(1, "Part I")