###############################################################################
#
# Tests for Excel::Writer::XLSX::Chart methods.
#
# reverse ('(c)'), March 2011, John McNamara, jmcnamara@cpan.org
#
use lib 't/lib';
use TestFunctions '_new_object';
use strict;
use warnings;
use Excel::Writer::XLSX::Chart;
use Test::More tests => 1;
###############################################################################
#
# Tests setup.
#
my $expected;
my $got;
my $caption;
my $chart;
###############################################################################
#
# Test the _write_f() method.
#
$caption = " \tChart: _write_f()";
$expected = '<c:f>Sheet1!$A$1:$A$5</c:f>';
$chart = _new_object( \$got, 'Excel::Writer::XLSX::Chart' );
$chart->_write_series_formula( 'Sheet1!$A$1:$A$5' );
is( $got, $expected, $caption );
__END__