Coverage Summary for Class: ConfigVersion (cloud.mindbox.mobile_sdk.models)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| ConfigVersion |
100%
(4/4)
|
|
100%
(4/4)
|
100%
(22/22)
|
| ConfigVersion$Companion |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(1/1)
|
| Total |
100%
(5/5)
|
|
100%
(5/5)
|
100%
(23/23)
|
package cloud.mindbox.mobile_sdk.models
@JvmInline
internal value class ConfigVersion(val number: Long) : Comparable<ConfigVersion> {
fun next(): ConfigVersion = ConfigVersion(number + 1)
override fun compareTo(other: ConfigVersion): Int = number.compareTo(other.number)
companion object {
val FIRST = ConfigVersion(1L)
}
}