assertFramesSimilar
fun assertFramesSimilar(expected: TestFrame, actual: TestFrame, minPsnrDb: Double = DEFAULT_MIN_PSNR_DB, minSsim: Double = DEFAULT_MIN_SSIM, message: String? = null)(source)
Fails unless actual matches expected closely enough to be the same frame.
Throws
When PSNR or SSIM falls below its threshold.
When the two frames differ in size.