mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-19 05:07:54 +00:00
Change a.get_ideal_... to Algorithm::get_ideal_...
In the previous change, this method was changed to an associated function.
This commit is contained in:
parent
0193d783b0
commit
6016159c86
@ -418,10 +418,8 @@ mod test {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
let a = Algorithm::new();
|
|
||||||
|
|
||||||
for tst in &tests {
|
for tst in &tests {
|
||||||
let (tx_power_index, dr) = a.get_ideal_tx_power_index_and_dr(
|
let (tx_power_index, dr) = Algorithm::get_ideal_tx_power_index_and_dr(
|
||||||
tst.n_step,
|
tst.n_step,
|
||||||
tst.tx_power_index,
|
tst.tx_power_index,
|
||||||
tst.dr,
|
tst.dr,
|
||||||
|
Loading…
Reference in New Issue
Block a user