Constructors from strings fails
Kerogi opened this issue · comments
Igor Kostenko commented
Failed next tests:
- Fraction_Calculator.Test.FractionConversionTest.ConstructionSimpleStringTest
- Fraction_Calculator.Test.FractionTest.ConstructFractionFromString
- Fraction_Calculator.Test.FractionTest.DecimalStringParsingTest
Igor Kostenko commented
In some locales numbers is written using dot and in another using coma.
The current code expect the first case(dot).
Possible solution is to make two separate methods:
1. Expects string with number in neutral locale
2. Expects string with number and locale in which this number is written
Or take the thread locale found it format and then convert given string with number it in neutral locale.