Describe the problem
From @Tycjan-Fortuna-IT we have got the following message as a part of pr #442 :
During the regular rebuilding and running tests to see if I did not destroy anything, I found an additional issue with the testing method LambdaSyntaxTest inside the class
TP.ExDM.FunctionalProgramming.AnonymousFunctionsUnitTest.
There is a small percentage that this test fails, it is probably due to the usage of the Random class to obtain random numbers and their usage in this test considering the _tolerance variable used in the boolean expression _count > _length / 2 - _tolerance && _count < _length / 2 + _tolerance
Describe the solution you'd like
I agree; it could happen. We must review the issue and propose a fix. I'm not sure about the priority of this issue.
Describe the problem
From @Tycjan-Fortuna-IT we have got the following message as a part of pr #442 :
During the regular rebuilding and running tests to see if I did not destroy anything, I found an additional issue with the testing method
LambdaSyntaxTestinside the classTP.ExDM.FunctionalProgramming.AnonymousFunctionsUnitTest.There is a small percentage that this test fails, it is probably due to the usage of the
Randomclass to obtain random numbers and their usage in this test considering the_tolerancevariable used in the boolean expression_count > _length / 2 - _tolerance && _count < _length / 2 + _toleranceDescribe the solution you'd like
I agree; it could happen. We must review the issue and propose a fix. I'm not sure about the priority of this issue.