• Ian Hickson's avatar
    moreOrLessEquals matcher for floating point numbers (#7358) · e08c3c3b
    Ian Hickson authored
    ```dart
    expect(x, moreOrLessEquals(0.0));
    ```
    
    ...for those cases where `x` might be 1e-11 or whatever.
    
    Also, be more resilient when dumping the tree from inside the test framework.
    Also, add an assert that helped me debug something the other day.
    e08c3c3b
Name
Last commit
Last update
..
all_elements.dart Loading commit data...
binding.dart Loading commit data...
controller.dart Loading commit data...
finders.dart Loading commit data...
matchers.dart Loading commit data...
stack_manipulation.dart Loading commit data...
test_async_utils.dart Loading commit data...
test_pointer.dart Loading commit data...
widget_tester.dart Loading commit data...