The test fails with this message:
...
Running math/measures/test.fsx....
-------------------
Failures in math/measures/test.fsx
FAILED: d
-------------------
...
FAILURE: math/measures/test.fsx - d
The error message is somewhat misleading, because there is no measures dir inside math (it is located in core). The interactive seems to indicate that this failure might be caused by localization:
> (2.0M).ToString();;
val it : string = "2,0"
The string corresponding to "2.0M" is "2,0", while the test expects it to be "2.0".
I am running this in Mono in an Italian locale. Does this test assume an English locale? Or is this a bug of the Mono implementation of Decimal.ToString() ?
Originally opened on CodePlex by ranma42
Running:
The test fails with this message: ... Running math/measures/test.fsx....
...
The error message is somewhat misleading, because there is no measures dir inside math (it is located in core). The interactive seems to indicate that this failure might be caused by localization:
The string corresponding to "2.0M" is "2,0", while the test expects it to be "2.0". I am running this in Mono in an Italian locale. Does this test assume an English locale? Or is this a bug of the Mono implementation of Decimal.ToString() ?