1<!DOCTYPE html>
2<!--
3Copyright (c) 2015 The Chromium Authors. All rights reserved.
4Use of this source code is governed by a BSD-style license that can be
5found in the LICENSE file.
6-->
7
8<link rel="import" href="/tracing/value/time_display_mode.html">
9<link rel="import" href="/tracing/value/ui/preferred_display_unit.html">
10
11<script>
12'use strict';
13
14tr.b.unittest.testSuite(function() {
15  test('instantiate', function() {
16    var unit = document.createElement('tr-v-ui-preferred-display-unit');
17    var ms = tr.v.TimeDisplayModes.ms;
18    unit.preferredDisplayUnit = ms;
19    assert.equal(unit.preferredDisplayUnit, ms);
20  });
21});
22</script>
23