checkImageSources

fun checkImageSources(    sources: ImageSources,     expectedSize: Int,     checkUrl: Boolean = true,     checkDarkUrl: Boolean = false,     checkPixels: Boolean = false)