We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e0b15 commit d8e5bdfCopy full SHA for d8e5bdf
source/fluentasserts/operations/comparison/approximately.d
@@ -188,10 +188,10 @@ static foreach (Type; FPTypes) {
188
expect(testValue).to.not.be.approximately(0.35, 0.00001);
189
}
190
191
- @(Type.stringof ~ " values checks approximately with delta 0.001")
+ @(Type.stringof ~ " values checks approximately with delta 0.0005")
192
unittest {
193
Type testValue = cast(Type) 0.351;
194
- expect(testValue).to.not.be.approximately(0.35, 0.001);
+ expect(testValue).to.not.be.approximately(0.35, 0.0005);
195
196
197
@(Type.stringof ~ " 0.351 approximately 0.35 with delta 0.0001 reports error with expected and actual")
0 commit comments