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

Unified Diff: tracing/tracing/base/bbox2_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/bbox2.html ('k') | tracing/tracing/base/math.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/bbox2_test.html
diff --git a/tracing/tracing/base/bbox2_test.html b/tracing/tracing/base/bbox2_test.html
deleted file mode 100644
index 156c25e176c4d1fbff8bde26b0692168c758fb84..0000000000000000000000000000000000000000
--- a/tracing/tracing/base/bbox2_test.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!--
-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/bbox2.html">
-<script>
-// Copyright (c) 2013 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.
-
-'use strict';
-
-tr.b.unittest.testSuite(function() {
- test('addVec2', function() {
- var bbox = new tr.b.BBox2();
- var x = vec2.create();
- vec2.set(x, 10, 10);
- bbox.addVec2(x);
- assert.equal(bbox.minVec2[0], 10);
- assert.equal(bbox.minVec2[1], 10);
- assert.equal(bbox.maxVec2[0], 10);
- assert.equal(bbox.maxVec2[1], 10);
-
- // Mutate x.
- vec2.set(x, 11, 11);
-
- // Bbox shouldn't have changed.
- assert.equal(bbox.minVec2[0], 10);
- assert.equal(bbox.minVec2[1], 10);
- assert.equal(bbox.maxVec2[0], 10);
- assert.equal(bbox.maxVec2[1], 10);
- });
-});
-</script>
« no previous file with comments | « tracing/tracing/base/bbox2.html ('k') | tracing/tracing/base/math.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698