| Index: tracing/tracing/base/math/piecewise_linear_function_test.html
|
| diff --git a/tracing/tracing/base/piecewise_linear_function_test.html b/tracing/tracing/base/math/piecewise_linear_function_test.html
|
| similarity index 82%
|
| rename from tracing/tracing/base/piecewise_linear_function_test.html
|
| rename to tracing/tracing/base/math/piecewise_linear_function_test.html
|
| index 7b36d7d256c9b6dc0a56a4f33717c0b2130ae599..c83fe110857f033301ed728eb1f6c210143148a7 100644
|
| --- a/tracing/tracing/base/piecewise_linear_function_test.html
|
| +++ b/tracing/tracing/base/math/piecewise_linear_function_test.html
|
| @@ -5,14 +5,14 @@ Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| -->
|
|
|
| -<link rel="import" href="/tracing/base/piecewise_linear_function.html">
|
| +<link rel="import" href="/tracing/base/math/piecewise_linear_function.html">
|
|
|
| <script>
|
| 'use strict';
|
|
|
| tr.b.unittest.testSuite(function() {
|
| test('PiecewiseLinearFunctionEmpty', function() {
|
| - var f = new tr.b.PiecewiseLinearFunction();
|
| + var f = new tr.b.math.PiecewiseLinearFunction();
|
| assert.strictEqual(f.max, -Infinity);
|
| assert.strictEqual(f.min, Infinity);
|
| assert.strictEqual(f.average, 0);
|
| @@ -20,7 +20,7 @@ tr.b.unittest.testSuite(function() {
|
| });
|
|
|
| test('PiecewiseLinearFunction', function() {
|
| - var f = new tr.b.PiecewiseLinearFunction();
|
| + var f = new tr.b.math.PiecewiseLinearFunction();
|
| f.push(0, 0.0, 10, 1.0);
|
| f.push(10, 1.0, 20, 0.0);
|
| f.push(20, 0.0, 30, 0.0);
|
|
|