projects
/
APKPM.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
store data in PostgreSQL table
[APKPM.git]
/
t
/
Store.t
1
#!/usr/bin/perl
2
use strict;
3
use warnings;
4
5
use Test::More tests => 3;
6
use Data::Dump qw(dump);
7
8
use lib 'lib';
9
10
use_ok 'APKPM::Store';
11
12
ok my $o = APKPM::Store->new, 'new';
13
14
ok my $r = $o->ADSL('job',{
15
ATTNRX => "36.5",
16
ATTNTX => "17.8",
17
MAXRX => 13500,
18
MAXTX => 880,
19
PWRRX => "0.0",
20
PWRTX => "12.6",
21
RX => 8500,
22
SNRRX => "11.4",
23
SNRTX => "16.0",
24
TX => 798,
25
}), 'ADSL';
26
27
diag dump($r);