|
|
|
|
@ -1,8 +1,9 @@ |
|
|
|
|
package net.pokeranalytics.android |
|
|
|
|
|
|
|
|
|
import com.google.android.libraries.places.internal.it |
|
|
|
|
import net.pokeranalytics.android.calculus.Stat |
|
|
|
|
import net.pokeranalytics.android.model.Criteria |
|
|
|
|
import net.pokeranalytics.android.model.LiveData |
|
|
|
|
import net.pokeranalytics.android.model.realm.CustomField |
|
|
|
|
import net.pokeranalytics.android.model.realm.TransactionType |
|
|
|
|
import org.junit.Assert |
|
|
|
|
import org.junit.Test |
|
|
|
|
@ -21,6 +22,12 @@ class SavableEnumTest { |
|
|
|
|
val transactionTypeValueIds = TransactionType.Value.valuesInternal().map { it.uniqueIdentifier } |
|
|
|
|
Assert.assertEquals(transactionTypeValueIds.toSet().size, transactionTypeValueIds.size) |
|
|
|
|
|
|
|
|
|
val liveDataIds = LiveData.valuesInternal().map { it.uniqueIdentifier } |
|
|
|
|
Assert.assertEquals(liveDataIds.toSet().size, liveDataIds.size) |
|
|
|
|
|
|
|
|
|
val customFieldTypeIds = CustomField.Type.valuesInternal().map { it.uniqueIdentifier } |
|
|
|
|
Assert.assertEquals(customFieldTypeIds.toSet().size, customFieldTypeIds.size) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |