• Chris Bracken's avatar
    Match lerped values using moreOrLessEquals (#64908) · 8fa5c55e
    Chris Bracken authored
    Several of our tests make use of numbers without an exact floating point
    representation (frequently 0.x where x!=5) which, when scaled, also
    scale the error. The end result is that some of these tests currently
    implicitly rely on an implementation detail of floating point math and
    are sensitive to differences in the ~15th decimal place.
    
    This patch reduces the sensitivity of some of these tests, checking
    values using `moreOrLessEquals` from the flutter_test package
    rather than requiring en exact match.
    8fa5c55e
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
flutter_test_alternative.dart Loading commit data...
flutter_test_config.dart Loading commit data...