in dekaf-main-test/src/settings/SettingsBuilderTest.kt [17:40]
fun basic() {
val b = SettingsBuilder()
b.put("Good" to 44)
b.put("Evil" to 13)
b.put("None" to 99)
val s = b.build()
expect that s hasSize 3
expect that s complies {
at(0) complies {
property { ::name } equalsTo "Good"
property { ::value } equalsTo 44
}
at(1) complies {
property { ::name } equalsTo "Evil"
property { ::value } equalsTo 13
}
at(2) complies {
property { ::name } equalsTo "None"
property { ::value } equalsTo 99
}
}
}