in CKSwiftTests/FlexboxComponentTests.swift [55:94]
func testConditions() {
let condition = Int.random(in: 0..<100) == 0
buildComponents {
if condition {
Component()
}
if condition {
ComponentView<UIView>()
}
if condition {
makeChild()
}
if condition {
Component()
} else {
ComponentView<UIView>()
}
if condition {
ComponentView<UIView>()
} else {
Component()
}
if condition {
ComponentView<UIView>()
} else {
Component()
}
if condition {
makeChild()
} else {
makeChild()
}
}
}