Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: tracing/tracing/base/sorted_array_utils_test.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/base/sorted_array_utils.html ('k') | tracing/tracing/base/statistics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/sorted_array_utils_test.html
diff --git a/tracing/tracing/base/sorted_array_utils_test.html b/tracing/tracing/base/sorted_array_utils_test.html
index 9b411b83e29f586edb230dea19a628d1c79f531b..53ba2617d8b3421510488c0672331fa20016e92f 100644
--- a/tracing/tracing/base/sorted_array_utils_test.html
+++ b/tracing/tracing/base/sorted_array_utils_test.html
@@ -4,7 +4,7 @@ Copyright (c) 2014 The Chromium Authors. All rights reserved.
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/sorted_array_utils.html">
+<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
<script>
'use strict';
@@ -20,14 +20,14 @@ tr.b.unittest.testSuite(function() {
},
findLowElementIndex: function(ts) {
- return tr.b.findLowIndexInSortedArray(
+ return tr.b.math.findLowIndexInSortedArray(
this.array,
function(x) { return x.lo; },
ts);
},
findIntervalIndex: function(ts) {
- return tr.b.findIndexInSortedIntervals(
+ return tr.b.math.findIndexInSortedIntervals(
this.array,
function(x) { return x.lo; },
function(x) { return x.hi - x.lo; },
@@ -35,7 +35,7 @@ tr.b.unittest.testSuite(function() {
},
findIndexInClosedIntervals: function(ts) {
- return tr.b.findIndexInSortedClosedIntervals(
+ return tr.b.math.findIndexInSortedClosedIntervals(
this.array,
function(x) { return x.lo; },
function(x) { return x.hi; },
@@ -45,7 +45,7 @@ tr.b.unittest.testSuite(function() {
findIntersectingIntervals: function(tsA, tsB) {
var array = this.array;
var result = [];
- tr.b.iterateOverIntersectingIntervals(
+ tr.b.math.iterateOverIntersectingIntervals(
this.array,
function(x) { return x.lo; },
function(x) { return x.hi - x.lo; },
@@ -56,7 +56,7 @@ tr.b.unittest.testSuite(function() {
},
findClosestElement: function(ts, tsDiff) {
- return tr.b.findClosestElementInSortedArray(
+ return tr.b.math.findClosestElementInSortedArray(
this.array,
function(x) { return x.lo; },
ts,
@@ -64,7 +64,7 @@ tr.b.unittest.testSuite(function() {
},
findClosestInterval: function(ts, tsDiff) {
- return tr.b.findClosestIntervalInSortedIntervals(
+ return tr.b.math.findClosestIntervalInSortedIntervals(
this.array,
function(x) { return x.lo; },
function(x) { return x.hi; },
« no previous file with comments | « tracing/tracing/base/sorted_array_utils.html ('k') | tracing/tracing/base/statistics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698