3 # This Koha test module is a stub!
4 # Add more tests here!!!
9 use Test
::More tests
=> 6;
12 use_ok
('C4::Barcodes::PrinterConfig');
15 is
(C4
::Barcodes
::PrinterConfig
::setPositionsForY
(), "0", "testing setPositionsForY returns'0' when given no arguments");
16 is
(C4
::Barcodes
::PrinterConfig
::setPositionsForX
(), "0", "testing setPositionsForX returns'0' when given no arguments");
18 is
(C4
::Barcodes
::PrinterConfig
::setPositionsForY
(undef, undef, 5), "5", "testing setPositionsForY returns'5' when given (undef, undef, 5)");
19 is
(C4
::Barcodes
::PrinterConfig
::setPositionsForX
(undef, undef, 5), "5", "testing setPositionsForX returns'5' when given (undef, undef, 5)");
22 is
(C4
::Barcodes
::PrinterConfig
::labelsPage
(), "0", "testing labelsPage returns'0' when given no arguments");