Coverage Summary for Class: SessionEpoch (cloud.mindbox.mobile_sdk.models)

Class Method, % Branch, % Line, % Instruction, %
SessionEpoch 100% (4/4) 100% (4/4) 100% (22/22)
SessionEpoch$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 SessionEpoch(val number: Long) : Comparable<SessionEpoch> {
 
     fun next(): SessionEpoch = SessionEpoch(number + 1)
 
     override fun compareTo(other: SessionEpoch): Int = number.compareTo(other.number)
 
     companion object {
         val FIRST = SessionEpoch(0L)
     }
 }