35 lines
753 B
YAML
35 lines
753 B
YAML
type: edu
|
|
files:
|
|
- name: src/Task.kt
|
|
visible: true
|
|
placeholders:
|
|
- offset: 122
|
|
length: 112
|
|
placeholder_text: |-
|
|
abstract class Instrument {
|
|
abstract fun play(n: Note): String
|
|
}
|
|
- offset: 236
|
|
length: 39
|
|
placeholder_text: |-
|
|
class Wind : Instrument() {
|
|
override fun play(n: Note) =
|
|
"Wind blow $n"
|
|
}
|
|
- offset: 277
|
|
length: 53
|
|
placeholder_text: |-
|
|
class Percussion : Instrument() {
|
|
override fun play(n: Note) =
|
|
"Percussion strike $n"
|
|
}
|
|
- offset: 332
|
|
length: 48
|
|
placeholder_text: |-
|
|
class Stringed : Instrument() {
|
|
override fun play(n: Note) =
|
|
"Stringed pluck $n"
|
|
}
|
|
- name: test/Tests.kt
|
|
visible: false
|