RedJocker / fix-PhotoEditor

0 stars 0 forks source link

stage6 testShouldCheckDefaultBitmapEdit, current assertions are based on incorrect values #12

Closed RedJocker closed 2 years ago

RedJocker commented 2 years ago

method tests image after applying +10 to brightness filter, so expected values should be initial + 10. currently it is expecting initial image to be equal as actual image, which is wrong. proposed solution was passing tests because test were not waiting coroutines to finish task before making assertions, after fixing that issue proposed solution fails because tests have wrong expected values

RedJocker commented 2 years ago

fixed on fixTests branch