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

Side by Side Diff: tracing/tracing/base/multi_dimensional_view_test.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « tracing/tracing/base/math/range_utils.html ('k') | tracing/tracing/base/scalar.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/iteration_helpers.html">
9 <link rel="import" href="/tracing/base/multi_dimensional_view.html"> 8 <link rel="import" href="/tracing/base/multi_dimensional_view.html">
9 <link rel="import" href="/tracing/base/utils.html">
10 <link rel="import" href="/tracing/core/test_utils.html"> 10 <link rel="import" href="/tracing/core/test_utils.html">
11 11
12 <script> 12 <script>
13 'use strict'; 13 'use strict';
14 14
15 tr.b.unittest.testSuite(function() { 15 tr.b.unittest.testSuite(function() {
16 const MultiDimensionalViewBuilder = tr.b.MultiDimensionalViewBuilder; 16 const MultiDimensionalViewBuilder = tr.b.MultiDimensionalViewBuilder;
17 const MultiDimensionalViewNode = tr.b.MultiDimensionalViewNode; 17 const MultiDimensionalViewNode = tr.b.MultiDimensionalViewNode;
18 const ViewType = MultiDimensionalViewBuilder.ViewType; 18 const ViewType = MultiDimensionalViewBuilder.ViewType;
19 const SELF = MultiDimensionalViewBuilder.ValueKind.SELF; 19 const SELF = MultiDimensionalViewBuilder.ValueKind.SELF;
(...skipping 13353 matching lines...) Expand 10 before | Expand all | Expand 10 after
13373 // Interleaved repetition. 13373 // Interleaved repetition.
13374 checkZFunction([1, 2, 1, 3, 1, 2, 1], [0, 0, 1, 0, 3, 0, 1]); 13374 checkZFunction([1, 2, 1, 3, 1, 2, 1], [0, 0, 1, 0, 3, 0, 1]);
13375 checkZFunction('AAABAAB', [0, 2, 1, 0, 2, 1, 0]); 13375 checkZFunction('AAABAAB', [0, 2, 1, 0, 2, 1, 0]);
13376 13376
13377 // Complex patterns. 13377 // Complex patterns.
13378 checkZFunction([7, 9, 7, 9, 7, 9, 7, 9], [0, 0, 6, 0, 4, 0, 2, 0]); 13378 checkZFunction([7, 9, 7, 9, 7, 9, 7, 9], [0, 0, 6, 0, 4, 0, 2, 0]);
13379 checkZFunction('CCGTCCCGTACC', [0, 1, 0, 0, 2, 4, 1, 0, 0, 0, 2, 1]); 13379 checkZFunction('CCGTCCCGTACC', [0, 1, 0, 0, 2, 4, 1, 0, 0, 0, 2, 1]);
13380 }); 13380 });
13381 }); 13381 });
13382 </script> 13382 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/base/math/range_utils.html ('k') | tracing/tracing/base/scalar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698