Dart test with roughly equal

Issue I am now trying to use dart:test features. I can write something like: expect(areaUnderCurveWithRectangleRule(f1, 0,1,1000), equals(2)); But as we know, in float/double calculation, there is no such thing as precise equal. So I am wondering if there is a

Continue reading