Coverage Summary for Class: TimeSignature (com.vsevolodganin.clicktrack.model)

Class Method, % Branch, % Line, % Instruction, %
TimeSignature 0% (0/2) 0% (0/18) 0% (0/8) 0% (0/112)
TimeSignature$Companion 0% (0/1) 0% (0/1) 0% (0/2)
Total 0% (0/3) 0% (0/18) 0% (0/9) 0% (0/114)


 package com.vsevolodganin.clicktrack.model
 
 import kotlinx.serialization.SerialName
 import kotlinx.serialization.Serializable
 
 @Serializable
 data class TimeSignature(
     val noteCount: Int,
     // For backward compatibility
     @SerialName("noteDuration")
     val noteValue: Int,
 ) {
     init {
         require(noteCount >= 0) { "Note count should be non-negative but was: $noteCount" }
         require(noteValue >= 0) { "Note value should be non-negative but was: $noteValue" }
     }
 }