Frank Rosner created MAHOUT-1605:
------------------------------------
Summary: Make VisualizerTest locale independent
Key: MAHOUT-1605
URL: https://issues.apache.org/jira/browse/MAHOUT-1605
Project: Mahout
Issue Type: Test
Affects Versions: 0.9
Reporter: Frank Rosner
Priority: Trivial
h5. Problem
When trying to build Mahout on a machine with a locale that uses a different
decimal separator, {{org.apache.mahout.classifier.df.tools.VisualizerTest}}
fails because of String assertions that are locale dependent.
Expected: {{humidity < 77.5 : yes}}
Actual: {{humidity < 77,5 : yes}}
h5. Solution
Make assertions locale independent by parsing the doubles and asserting the
parsed values.
--
This message was sent by Atlassian JIRA
(v6.2#6252)