You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
522 B
21 lines
522 B
package net.pokeranalytics.android
|
|
|
|
import net.pokeranalytics.android.calculus.Stat
|
|
import net.pokeranalytics.android.model.Criteria
|
|
import org.junit.Assert
|
|
import org.junit.Test
|
|
|
|
class SavableEnumTest {
|
|
|
|
@Test
|
|
fun testSavableEnumConfiguration() {
|
|
|
|
val statIds = Stat.valuesInternal().map { it.uniqueIdentifier }
|
|
Assert.assertEquals(statIds.toSet().size, statIds.size)
|
|
|
|
val criteriaIds = Criteria.valuesInternal().map { it.uniqueIdentifier }
|
|
Assert.assertEquals(criteriaIds.toSet().size, criteriaIds.size)
|
|
|
|
}
|
|
|
|
} |