File: 1.t

package info (click to toggle)
libaudio-wma-perl 1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 2,256; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#########################

use Test::More tests => 7;

BEGIN { use_ok('Audio::WMA') };

#########################

{
	my $wma = Audio::WMA->new('data/test1.wma');

	ok $wma;

	my $info = $wma->info();

	ok $info;

	ok($wma->info('max_bitrate') == 20000);

	ok($wma->info('playtime_seconds') == 16.91);

	my $tags = $wma->tags();

	ok $tags;

	is($wma->tags('title'), 'Upgrade Your Player');
}

__END__