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> |