Coverage Summary for Class: GhostShape (com.ghost.serialization.integration.model)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| GhostShape |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(2/2)
|
| GhostShape$Circle |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(8/8)
|
| GhostShape$Square |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(8/8)
|
| Total |
100%
(3/3)
|
|
100%
(3/3)
|
100%
(18/18)
|
package com.ghost.serialization.integration.model
import com.ghost.serialization.annotations.GhostSerialization
@GhostSerialization
sealed class GhostShape {
@GhostSerialization
data class Circle(val radius: Double) : GhostShape()
@GhostSerialization
data class Square(val side: Double) : GhostShape()
}