• 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
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.analysis_options Loading commit data...
.analysis_options_repo Loading commit data...
.analysis_options_user Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...