Minor, move builtins serializer test data
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package test
|
||||
|
||||
enum class Weapon {
|
||||
ROCK
|
||||
PAPER
|
||||
SCISSORS
|
||||
}
|
||||
|
||||
val byteConst: Byte = 10
|
||||
val shortConst: Short = 20
|
||||
val intConst: Int = 30
|
||||
val longConst: Long = 40
|
||||
val charConst: Char = 'A'
|
||||
val stringConst: String = "abcd"
|
||||
val booleanConst: Boolean = true
|
||||
val floatConst: Float = 2.0f
|
||||
val doubleConst: Double = 3.0
|
||||
val enumConst: Weapon? = Weapon.ROCK
|
||||
val arrayConst: Any = byteArray(1,2)
|
||||
|
||||
class Class {
|
||||
val byteConst: Byte = 10
|
||||
val shortConst: Short = 20
|
||||
val intConst: Int = 30
|
||||
val longConst: Long = 40
|
||||
val charConst: Char = 'A'
|
||||
val stringConst: String = "abcd"
|
||||
val booleanConst: Boolean = true
|
||||
val floatConst: Float = 2.0f
|
||||
val doubleConst: Double = 3.0
|
||||
val enumConst: Weapon? = Weapon.ROCK
|
||||
val arrayConst: Any = byteArray(1,2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user