// Copyright 2018, University of Colorado Boulder

/**
 * QUnit tests for ScrollingChartNode
 *
 * @author Sam Reid (PhET Interactive Simulations)
 */
define( require => {
  'use strict';

  // modules
  const DynamicSeries = require( 'GRIDDLE/DynamicSeries' );
  const Property = require( 'AXON/Property' );
  const ScrollingChartNode = require( 'GRIDDLE/ScrollingChartNode' );
  const Text = require( 'SCENERY/nodes/Text' );

  QUnit.module( 'ScrollingChartNode' );

  QUnit.test( 'Test dispose', assert => {
    const timeProperty = new Property( 0 );
    const series1 = new DynamicSeries( { color: 'blue' } );
    const scrollingChartNode = new ScrollingChartNode(
      timeProperty,
      [ series1 ],
      new Text( 'vertical' ),
      new Text( 'horizontal' ),
      new Text( 'scale' ), {}
    );
    scrollingChartNode.dispose();
    assert.ok( true, 'dispose completed' );
  } );
} );
// Copyright 2018-2019, University of Colorado Boulder

/**
 * QUnit tests for ScrollingChartNode
 *
 * @author Sam Reid (PhET Interactive Simulations)
 */
define( require => {
  'use strict';

  // modules
  const DynamicSeries = require( 'GRIDDLE/DynamicSeries' );
  const Property = require( 'AXON/Property' );
  const ScrollingChartNode = require( 'GRIDDLE/ScrollingChartNode' );
  const Text = require( 'SCENERY/nodes/Text' );

  QUnit.module( 'ScrollingChartNode' );

  QUnit.test( 'Test dispose', assert => {
    const timeProperty = new Property( 0 );
    const series1 = new DynamicSeries( { color: 'blue' } );
    const scrollingChartNode = new ScrollingChartNode(
      timeProperty,
      [ series1 ],
      new Text( 'vertical' ),
      new Text( 'horizontal' ),
      new Text( 'scale' ), {}
    );
    scrollingChartNode.dispose();
    assert.ok( true, 'dispose completed' );
  } );
} );
update copyright dates from daily grunt work