@@ -168,7 +168,7 @@ public async Task Should_translate_avg()
168
168
169
169
result . Projection . Should ( ) . Be ( "{ Result: { \" $avg\" : \" $M\" }, _id: 0 }" ) ;
170
170
171
- result . Value . Result . Should ( ) . BeApproximately ( 3.66666667 , 5 ) ;
171
+ result . Value . Result . Should ( ) . BeApproximately ( 3.66666667 , .0001 ) ;
172
172
}
173
173
174
174
[ Test ]
@@ -303,7 +303,7 @@ public async Task Should_translate_divide_3_numbers()
303
303
304
304
result . Projection . Should ( ) . Be ( "{ Result: { \" $divide\" : [{ \" $divide\" : [\" $_id\" , \" $C.E.F\" ] }, \" $C.E.H\" ] }, _id: 0 }" ) ;
305
305
306
- result . Value . Result . Should ( ) . BeApproximately ( 0.04 , 3 ) ;
306
+ result . Value . Result . Should ( ) . BeApproximately ( 0.04 , .01 ) ;
307
307
}
308
308
309
309
[ Test ]
@@ -334,7 +334,7 @@ public async Task Should_translate_exp()
334
334
335
335
result . Projection . Should ( ) . Be ( "{ Result: { \" $exp\" : [\" $C.E.F\" ] }, _id: 0 }" ) ;
336
336
337
- result . Value . Result . Should ( ) . BeApproximately ( 59874.1417151978 , 5 ) ;
337
+ result . Value . Result . Should ( ) . BeApproximately ( 59874.1417151978 , .0001 ) ;
338
338
}
339
339
340
340
[ Test ]
@@ -417,7 +417,7 @@ public async Task Should_translate_ln()
417
417
418
418
result . Projection . Should ( ) . Be ( "{ Result: { \" $ln\" : [\" $C.E.F\" ] }, _id: 0 }" ) ;
419
419
420
- result . Value . Result . Should ( ) . BeApproximately ( 2.39789527279837 , 5 ) ;
420
+ result . Value . Result . Should ( ) . BeApproximately ( 2.39789527279837 , .0001 ) ;
421
421
}
422
422
423
423
[ Test ]
@@ -439,7 +439,7 @@ public async Task Should_translate_log10()
439
439
440
440
result . Projection . Should ( ) . Be ( "{ Result: { \" $log10\" : [\" $C.E.F\" ] }, _id: 0 }" ) ;
441
441
442
- result . Value . Result . Should ( ) . BeApproximately ( 1.0413928515823 , 5 ) ;
442
+ result . Value . Result . Should ( ) . BeApproximately ( 1.0413928515823 , .0001 ) ;
443
443
}
444
444
445
445
[ Test ]
0 commit comments