1. 31 8月, 2020 3 次提交
    • C
      lerpDouble: stricter handling of NaN and infinity (#20871) · dbc9b1a8
      Chris Bracken 提交于
      Previously, the behaviour of lerpDouble with respect to NaN and infinity
      was relatively complex and difficult to reason about. This patch
      simplifies the behaviour with respect to those conditions and adds
      documentation and tests.
      
      In general, if `a == b` or both values are null, infinite, or NaN, `a`
      is returned. Otherwise we require `a` and `b` and `t` to be finite or
      null and the result of the linear interpolation is returned.
      dbc9b1a8
    • C
      Extract Dart test utilities library (#20874) · 14ac65c9
      Chris Bracken 提交于
      This extracts a Dart test utilities library, containing
      `expectAssertion` and `expectArgumentError` functions that simplify
      running tests that test assertions across debug, profile, and release
      configurations.
      
      This change also restricts Dart unit tests to testing files whose
      filename matches `*_test.dart` under `flutter/testing/dart`; previously
      any file in that directory was run, but all files matched the above
      pattern.
      14ac65c9
    • S
  2. 30 8月, 2020 8 次提交
  3. 29 8月, 2020 15 次提交
  4. 28 8月, 2020 14 次提交