1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 tvcm.require('telemetry.web_components.ui.pie_chart');
9 tvcm.testSuite('telemetry.web_components.ui.pie_chart_unittest', function() {
10 test('simple', function() {
11 var chart = new telemetry.web_components.ui.PieChart();
14 chart.chartTitle = 'Chart title';
16 {label: 'a', value: 100},
17 {label: 'b', value: 200},
18 {label: 'c', value: 300}
21 this.addHTMLOutput(chart);