Add Range function for Steady State detection 81/16781/2
authorTim Rault <tim.rault@cengn.ca>
Tue, 12 Jul 2016 19:30:51 +0000 (15:30 -0400)
committerTim Rault <tim.rault@cengn.ca>
Thu, 14 Jul 2016 19:45:46 +0000 (15:45 -0400)
commit8f9351d780beb18aa70e2d84f6e249a0a29489cf
treef1cfa086e294c26f3e88d7cd984bd424239daa45
parentd7d5efb6fe647e117f54ce0923e4966014eaeb9a
Add Range function for Steady State detection

Added a range_value function in utilities/math.py able to compute the range
of a series of y values : [y1, y2, ..., yn].
Implemented a test harness for this range_value function in the tests/utilities
section.
Renamed the math_slope.py and math_range.py test files to add _test.py for
Jenkins.
Cleaned up the code so it is compliant to the pep8 rules.

Renamed the previous 'math' modules (storperf/utilities/math.py
and storperf/test/utilities/math.py) as 'math_slope' to be
coherent with the new notation.

Change-Id: I02ccd2b87f0b72e7a28c416b593aae4d8ad97961
JIRA: STORPERF-57
JIRA: STORPERF-58
Signed-off-by: Tim Rault <tim.rault@cengn.ca>
storperf/tests/utilities/math_range_test.py [new file with mode: 0644]
storperf/tests/utilities/math_slope_test.py [moved from storperf/tests/utilities/math.py with 70% similarity]
storperf/utilities/math.py