def testScaleFloatingPointData(self):
    scale = util.ScaleData
    data = [-3.14, -2.72, 0, 2.72, 3.14]
    scaled_e = 5 + 5 * 2.72 / 3.14
    expected_data = [0, scaled_e - 10, 5, scaled_e, 10]
    actual_data = scale(data, -3.14, 3.14, 0, 10)
    for expected, actual in zip(expected_data, actual_data):
      self.assertAlmostEqual(expected, actual)
dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/backends/google_chart_api/util_test.py/ScaleTest.testScaleFloatingPointData/swapped operands of `-`