Skip to content

Instantly share code, notes, and snippets.

@Ed-Pavlov
Ed-Pavlov / armature-test-coverage.json
Last active April 6, 2025 15:40
Test Coverage Bage
{"schemaVersion":1,"label":"Unit Test Coverage","message":"76.48%","color":"brightgreen"}
@Ed-Pavlov
Ed-Pavlov / binstate-test-coverage.json
Last active March 29, 2025 19:23
Test Coverage Bage
{"schemaVersion":1,"label":"Unit Test Coverage","message":"88.61%","color":"brightgreen"}
@Ed-Pavlov
Ed-Pavlov / Maybe.kt
Created December 14, 2021 17:22
Implementation of Maybe type in Kotlin
class Maybe<T> {
private constructor () {
this.value = null
this.hasValue = false
}
constructor (value: T) {
this.value = value
this.hasValue = true
}