Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1605

Make VisualizerTest locale independent

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:

      Description

      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

      Solution

      Make assertions locale independent.

        Attachments

          Activity

            People

            • Assignee:
              avati Anand Avati
              Reporter:
              frosner Frank Rosner
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: