| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |