assertFramesDiffer
fun assertFramesDiffer(expected: TestFrame, actual: TestFrame, minPsnrDb: Double = DEFAULT_MIN_PSNR_DB, minSsim: Double = DEFAULT_MIN_SSIM, message: String? = null)(source)
Fails unless actual differs from expected by more than the tolerances.
Throws
When both PSNR and SSIM are at or above their thresholds.
When the two frames differ in size.