The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
###############################################################################
#
# Tests for Excel::Writer::XLSX::Workbook methods.
#
# reverse ('(c)'), September 2010, John McNamara, jmcnamara@cpan.org
#

use lib 't/lib';
use TestFunctions '_new_workbook';
use strict;
use warnings;

use Test::More tests => 1;


###############################################################################
#
# Tests setup.
#
my $expected;
my $got;
my $caption;
my $workbook;


###############################################################################
#
# Test the _write_mx_arch_id() method.
#
$caption  = " \tWorkbook: _write_mx_arch_id()";
$expected = '<mx:ArchID Flags="2"/>';

$workbook = _new_workbook(\$got);

$workbook->_write_mx_arch_id();

is( $got, $expected, $caption );

__END__