blob: 13db4b8a6ce53ac82b27b77a8740690f267e10df [file] [log] [blame]
<!DOCTYPE html>
<!--
Copyright (c) 2015 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="/core/test_utils.html">
<link rel="import" href="/core/tracks/chart_point.html">
<script>
'use strict';
tv.b.unittest.testSuite(function() {
var ChartPoint = tv.c.tracks.ChartPoint;
test('checkFields', function() {
var event = {};
var point = new ChartPoint(event, 42, -7);
assert.equal(point.modelItem, event);
assert.equal(point.x, 42);
assert.equal(point.y, -7);
});
});
</script>